diff options
| author | Pali Rohár <[email protected]> | 2024-09-28 12:13:44 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-01-29 23:12:56 +0000 |
| commit | 65ccccee4eb1a8147a3242238f7730bd8359077e (patch) | |
| tree | 70108db83742c072a8f75ab24f7c90754610f6ec /scripts/gcc-plugins/sancov_plugin.c | |
| parent | cifs: Remove unicode parameter from parse_reparse_point() function (diff) | |
| download | kernel-65ccccee4eb1a8147a3242238f7730bd8359077e.tar.gz kernel-65ccccee4eb1a8147a3242238f7730bd8359077e.zip | |
cifs: Remove struct reparse_posix_data from struct cifs_open_info_data
Linux SMB client already supports more reparse point types but only the
reparse_posix_data is defined in union of struct cifs_open_info_data.
This union is currently used as implicit casting between point types.
With this code style, it hides information that union is used for pointer
casting, and just in mknod_nfs() and posix_reparse_to_fattr() functions.
Other reparse point buffers do not use this kind of casting. So remove
reparse_posix_data from reparse part of struct cifs_open_info_data and for
all cases of reparse buffer use just struct reparse_data_buffer *buf.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
