]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: create smb3 equivalent alias for cifs pseudo-xattrs
authorSteve French <stfrench@microsoft.com>
Fri, 10 Aug 2018 23:46:58 +0000 (18:46 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 10 Aug 2018 23:46:58 +0000 (18:46 -0500)
commitf49ec62d31a84bc435f64ea6fe4211690266785d
tree7fc9e232e33e45e24192277ae12d01ee5a17e3c3
parent72a0b93023ee1d06d117562710455db1cef71bb0
smb3: create smb3 equivalent alias for cifs pseudo-xattrs

We really, really don't want to be encouraging people to use
cifs (the dialect) since it is insecure, so to avoid confusion
we want to move them to names which include 'smb3' instead of
'cifs' - so this simply creates an alias for the pseudo-xattrs

e.g. can now do:
getfattr -n user.smb3.creationtime /mnt1/file
and
getfattr -n user.smb3.dosattrib /mnt1/file
and
getfattr -n system.smb3_acl /mnt1/file

instead of forcing you to use the string 'cifs' in
these (e.g. getfattr -n system.cifs_acl /mnt1/file)

Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/xattr.c