Add way to query file attributes via cifs xattr
authorSteve French <smfrench@gmail.com>
Mon, 19 Sep 2016 16:14:06 +0000 (11:14 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 12 Oct 2016 17:08:30 +0000 (12:08 -0500)
commita958fff2429525692c571bb6421b606fb0fef50a
tree84c76cd718dd69a4949471c75f933cd276419505
parent1573d2caf713874cfe0d1336c823d0fb548d8bed
Add way to query file attributes via cifs xattr

Add parsing for new pseudo-xattr user.cifs.dosattrib file attribute
so tools can recognize what kind of file it is, and verify if common
SMB3 attributes (system, hidden, archive, sparse, indexed etc.) are
set.

Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
fs/cifs/xattr.c