aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2021-09-09 00:09:20 -0500
committerSteve French <stfrench@microsoft.com>2021-09-09 00:09:20 -0500
commit8d014f5fe98142b79dfa3bcd0d9483a5165f3570 (patch)
tree7b9a56aaed2dc566e7fba7ef2cf96cf1825f5258 /fs
parentcifs: rename cifs_common to smbfs_common (diff)
downloadlinux-dev-8d014f5fe98142b79dfa3bcd0d9483a5165f3570.tar.xz
linux-dev-8d014f5fe98142b79dfa3bcd0d9483a5165f3570.zip
cifs: move SMB FSCTL definitions to common code
The FSCTL definitions are in smbfsctl.h which should be shared by client and server. Move the updated version of smbfsctl.h into smbfs_common and have the client code use it (subsequent patch will change the server to use this common version of the header). Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifspdu.h2
-rw-r--r--fs/smbfs_common/smbfsctl.h (renamed from fs/cifs/smbfsctl.h)0
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index dc920e206336..98e8e5aa0613 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -12,7 +12,7 @@
#include <net/sock.h>
#include <asm/unaligned.h>
-#include "smbfsctl.h"
+#include "../smbfs_common/smbfsctl.h"
#define CIFS_PROT 0
#define POSIX_PROT (CIFS_PROT+1)
diff --git a/fs/cifs/smbfsctl.h b/fs/smbfs_common/smbfsctl.h
index d01e8c9d7a31..d01e8c9d7a31 100644
--- a/fs/cifs/smbfsctl.h
+++ b/fs/smbfs_common/smbfsctl.h