summaryrefslogtreecommitdiff
path: root/fs/cifs/cifs_ioctl.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2019-07-25 06:08:43 +0300
committerSteve French <stfrench@microsoft.com>2019-09-16 19:43:37 +0300
commit0e90696dc2b33a2c390242c5b9f330a16ae2ac82 (patch)
tree900afefc3a892eb00656544b3fd00d35190c1640 /fs/cifs/cifs_ioctl.h
parent86e14e12051a229070f43d6f80037cd064afa4a5 (diff)
downloadlinux-0e90696dc2b33a2c390242c5b9f330a16ae2ac82.tar.xz
cifs: add passthrough for smb2 setinfo
Add support to send smb2 set-info commands from userspace. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Diffstat (limited to 'fs/cifs/cifs_ioctl.h')
-rw-r--r--fs/cifs/cifs_ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifs_ioctl.h b/fs/cifs/cifs_ioctl.h
index 086ddc5108af..6c3bd07868d7 100644
--- a/fs/cifs/cifs_ioctl.h
+++ b/fs/cifs/cifs_ioctl.h
@@ -46,6 +46,7 @@ struct smb_snapshot_array {
/* query_info flags */
#define PASSTHRU_QUERY_INFO 0x00000000
#define PASSTHRU_FSCTL 0x00000001
+#define PASSTHRU_SET_INFO 0x00000002
struct smb_query_info {
__u32 info_type;
__u32 file_info_class;