diff options
author | Volker Lendecke <vl@samba.org> | 2022-11-25 12:37:44 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-12-08 09:51:53 -0600 |
commit | 64ce47cb1b29d7d6aab6dcc287ae1fddb4876bd5 (patch) | |
tree | 4c14d7ddb358841d31d90d1372747e1a06947f3f /fs/cifs/smb2proto.h | |
parent | 83fb8abec29383eb0cf35495d21669e38548771b (diff) | |
download | lwn-64ce47cb1b29d7d6aab6dcc287ae1fddb4876bd5.tar.gz lwn-64ce47cb1b29d7d6aab6dcc287ae1fddb4876bd5.zip |
cifs: Parse owner/group for stat in smb311 posix extensions
stat was returning default owner and group (unlike readdir)
for SMB3.1.1 POSIX extensions
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index be21b5d26f67..d5d7ffb7711c 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -277,7 +277,10 @@ extern int smb2_query_info_compound(const unsigned int xid, /* query path info from the server using SMB311 POSIX extensions*/ 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, bool *adjust_tz, bool *reparse); + struct cifs_open_info_data *data, + struct cifs_sid *owner, + struct cifs_sid *group, + bool *adjust_tz, bool *reparse); 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); |