cifs: use helpers when parsing uid/gid mount options and validate them
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 7 Jul 2021 23:24:16 +0000 (09:24 +1000)
committerSteve French <stfrench@microsoft.com>
Thu, 8 Jul 2021 23:25:04 +0000 (18:25 -0500)
commite0a3cbcd5cef00cace01546cc6eaaa3b31940da9
treee62be2362cf6e4522e61f5dd2f5ddeced075e4f9
parentd4dc277c480c1faf87d452467d16f513b7ae2fb8
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>
fs/cifs/fs_context.c
fs/cifs/fs_context.h