Add way to query server fs info for smb3
authorSteve French <steve.french@primarydata.com>
Sat, 4 Jul 2015 23:40:10 +0000 (18:40 -0500)
committerSteve French <smfrench@gmail.com>
Thu, 20 Aug 2015 15:19:25 +0000 (10:19 -0500)
commit0de1f4c6f6c028249579d8d80fa0a4f6322b2227
treedd543b57f54bcf408d6f8e598b31f3777cb136de
parent1b647a166f07dcf08709c8606470f4b17a4aa11d
Add way to query server fs info for smb3

The server exports information about the share and underlying
device under an SMB3 export, including its attributes and
capabilities, which is stored by cifs.ko when first connecting
to the share.

Add ioctl to cifs.ko to allow user space smb3 helper utilities
(in cifs-utils) to display this (e.g. via smb3util).

This information is also useful for debugging and for
resolving configuration errors.

Signed-off-by: Steve French <steve.french@primarydata.com>
fs/cifs/cifs_ioctl.h [new file with mode: 0644]
fs/cifs/cifspdu.h
fs/cifs/ioctl.c