diff options
author | Steve French <smfrench@gmail.com> | 2016-09-23 08:36:34 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2016-10-14 21:22:01 +0200 |
commit | 9593265531fa66177a0547e63abd99907ec0a687 (patch) | |
tree | 81350498ef2188029c0555163b60899ee029e372 /fs/cifs/cifsglob.h | |
parent | CIFS: Reset read oplock to NONE if we have mandatory locks after reopen (diff) | |
download | linux-9593265531fa66177a0547e63abd99907ec0a687.tar.xz linux-9593265531fa66177a0547e63abd99907ec0a687.zip |
CIFS: Add new mount option to set owner uid and gid from special sids in acl
Add "idsfromsid" mount option to indicate to cifs.ko that it should
try to retrieve the uid and gid owner fields from special sids in the
ACL if present. This first patch just adds the parsing for the mount
option.
Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 0c828d3c48c3..1f17f6bd7a60 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -478,6 +478,7 @@ struct smb_vol { bool retry:1; bool intr:1; bool setuids:1; + bool setuidfromacl:1; bool override_uid:1; bool override_gid:1; bool dynperm:1; |