diff options
author | Paulo Alcantara <pc@manguebit.com> | 2024-01-19 05:08:27 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-19 17:30:53 +0100 |
commit | 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 (patch) | |
tree | e9a11452bccb1152f486ca3ea017f4c37ae2d091 /fs/smb/client/smb2proto.h | |
parent | smb: client: fix parsing of SMB3.1.1 POSIX create context (diff) | |
download | linux-858e74876c5cbff1dfd5bace99e32fbce2abd4b5.tar.xz linux-858e74876c5cbff1dfd5bace99e32fbce2abd4b5.zip |
smb: client: parse owner/group when creating reparse points
Parse owner/group when creating special files and symlinks under
SMB3.1.1 POSIX mounts.
Move the parsing of owner/group to smb2_compound_op() so we don't have
to duplicate it in both smb2_get_reparse_inode() and
smb311_posix_query_path_info().
Signed-off-by: Paulo Alcantara <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/smb2proto.h')
-rw-r--r-- | fs/smb/client/smb2proto.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/smb/client/smb2proto.h b/fs/smb/client/smb2proto.h index 343ada691e76..0034b537b0b3 100644 --- a/fs/smb/client/smb2proto.h +++ b/fs/smb/client/smb2proto.h @@ -299,9 +299,7 @@ int smb311_posix_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, - struct cifs_open_info_data *data, - struct cifs_sid *owner, - struct cifs_sid *group); + struct cifs_open_info_data *data); int posix_info_parse(const void *beg, const void *end, struct smb2_posix_info_parsed *out); int posix_info_sid_size(const void *beg, const void *end); |