cifs: Add support for reading attributes on SMB2+
authorRonnie Sahlberg <lsahlber@redhat.com>
Thu, 24 Aug 2017 01:24:55 +0000 (11:24 +1000)
committerSteve French <smfrench@gmail.com>
Mon, 4 Sep 2017 19:03:41 +0000 (14:03 -0500)
commit95907fea4fd8ccc736e0a428e52159b4d42b9958
treee2f69feb6d0f5b2c85e8666502608584c22e14f7
parent81a84ad3cb5711cec79f4dd53a4ce026b092c432
cifs: Add support for reading attributes on SMB2+

SMB1 already has support to read attributes. This adds similar support
to SMB2+.

With this patch, tools such as 'getfattr' will now work with SMB2+ shares.

RH-bz: 1110709

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/cifs/smb2proto.h