diff options
author | 2024-09-28 14:13:44 +0200 | |
---|---|---|
committer | 2025-01-29 17:12:56 -0600 | |
commit | 65ccccee4eb1a8147a3242238f7730bd8359077e (patch) | |
tree | 70108db83742c072a8f75ab24f7c90754610f6ec /scripts/generate_rust_analyzer.py | |
parent | cifs: Remove unicode parameter from parse_reparse_point() function (diff) | |
download | wireguard-linux-65ccccee4eb1a8147a3242238f7730bd8359077e.tar.xz wireguard-linux-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 <pali@kernel.org>
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions