summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/cifsglob.h
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2024-01-19 01:08:27 -0300
committerSteve French <stfrench@microsoft.com>2024-01-19 10:30:53 -0600
commit858e74876c5cbff1dfd5bace99e32fbce2abd4b5 (patch)
treee9a11452bccb1152f486ca3ea017f4c37ae2d091 /fs/smb/client/cifsglob.h
parent76025cc2285d9ede3d717fe4305d66f8be2d9346 (diff)
downloadlinux-stable-858e74876c5cbff1dfd5bace99e32fbce2abd4b5.tar.gz
linux-stable-858e74876c5cbff1dfd5bace99e32fbce2abd4b5.tar.bz2
linux-stable-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/cifsglob.h')
-rw-r--r--fs/smb/client/cifsglob.h2
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;