diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2021-07-08 02:24:16 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-07-09 02:25:04 +0300 |
commit | e0a3cbcd5cef00cace01546cc6eaaa3b31940da9 (patch) | |
tree | e62be2362cf6e4522e61f5dd2f5ddeced075e4f9 /fs/cifs/fs_context.h | |
parent | d4dc277c480c1faf87d452467d16f513b7ae2fb8 (diff) | |
download | linux-e0a3cbcd5cef00cace01546cc6eaaa3b31940da9.tar.xz |
cifs: use helpers when parsing uid/gid mount options and validate them
Use the nice helpers to initialize and the uid/gid/cred_uid when passed as mount arguments.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Acked-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/fs_context.h')
-rw-r--r-- | fs/cifs/fs_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/fs_context.h b/fs/cifs/fs_context.h index 2a71c8e411ac..b6243972edf3 100644 --- a/fs/cifs/fs_context.h +++ b/fs/cifs/fs_context.h @@ -155,6 +155,7 @@ enum cifs_param { struct smb3_fs_context { bool uid_specified; + bool cruid_specified; bool gid_specified; bool sloppy; bool got_ip; |