diff options
author | Steve French <smfrench@gmail.com> | 2016-09-23 01:36:34 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2016-10-14 14:22:01 -0500 |
commit | 9593265531fa66177a0547e63abd99907ec0a687 (patch) | |
tree | 81350498ef2188029c0555163b60899ee029e372 /fs/cifs/cifs_fs_sb.h | |
parent | de74025052ef63852d80a444ea19f2bdd7bec63f (diff) | |
download | linux-9593265531fa66177a0547e63abd99907ec0a687.tar.gz linux-9593265531fa66177a0547e63abd99907ec0a687.tar.bz2 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/cifs_fs_sb.h')
-rw-r--r-- | fs/cifs/cifs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifs_fs_sb.h b/fs/cifs/cifs_fs_sb.h index 1418daa03d95..07ed81cf1552 100644 --- a/fs/cifs/cifs_fs_sb.h +++ b/fs/cifs/cifs_fs_sb.h @@ -49,6 +49,7 @@ #define CIFS_MOUNT_USE_PREFIX_PATH 0x1000000 /* make subpath with unaccessible * root mountable */ +#define CIFS_MOUNT_UID_FROM_ACL 0x2000000 /* try to get UID via special SID */ struct cifs_sb_info { struct rb_root tlink_tree; |