diff options
| author | Pali Rohár <[email protected]> | 2024-09-13 09:46:35 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-01-29 23:18:55 +0000 |
| commit | b6d002f0a345218edbe9de049693004482a81327 (patch) | |
| tree | 59a597654286767c82e498f174a3c3b733ae2da0 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | cifs: Remove struct reparse_posix_data from struct cifs_open_info_data (diff) | |
| download | kernel-b6d002f0a345218edbe9de049693004482a81327.tar.gz kernel-b6d002f0a345218edbe9de049693004482a81327.zip | |
cifs: Rename struct reparse_posix_data to reparse_nfs_data_buffer and move to common/smb2pdu.h
Function parse_reparse_posix() parses NFS-style reparse points, which are
used only by Windows NFS server since Windows Server 2012 version. This
style is not understood by Microsoft POSIX/Interix/SFU/SUA subsystems.
So make it clear that parse_reparse_posix() function and reparse_posix_data
structure are not POSIX general, but rather NFS specific.
All reparse buffer structures are defined in common/smb2pdu.h and have
_buffer suffix. So move struct reparse_posix_data from client/cifspdu.h to
common/smb2pdu.h and rename it to reparse_nfs_data_buffer for consistency.
Note that also SMB specification in [MS-FSCC] document, section 2.1.2.6
defines it under name "Network File System (NFS) Reparse Data Buffer".
So use this name for consistency.
Having this structure in common/smb2pdu.h can be useful for ksmbd server
code as NFS-style reparse points is the preferred way for implementing
support for special files.
Signed-off-by: Pali Rohár <[email protected]>
Acked-by: Paulo Alcantara (Red Hat) <[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
