diff options
author | Paulo Alcantara <pc@manguebit.com> | 2024-01-19 07:08:27 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-19 19:30:53 +0300 |
commit | 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 (patch) | |
tree | e9a11452bccb1152f486ca3ea017f4c37ae2d091 /fs/smb/client/cifsglob.h | |
parent | 76025cc2285d9ede3d717fe4305d66f8be2d9346 (diff) | |
download | linux-858e74876c5cbff1dfd5bace99e32fbce2abd4b5.tar.xz |
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/cifsglob.h')
-rw-r--r-- | fs/smb/client/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index f576ceee6157..49ec4d3713fe 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -204,6 +204,8 @@ struct cifs_open_info_data { }; } reparse; char *symlink_target; + struct cifs_sid posix_owner; + struct cifs_sid posix_group; union { struct smb2_file_all_info fi; struct smb311_posix_qinfo posix_fi; |