]> www.infradead.org Git - linux-platform-drivers-x86.git/commitdiff
cifs: move SMB FSCTL definitions to common code
authorSteve French <stfrench@microsoft.com>
Thu, 9 Sep 2021 05:09:20 +0000 (00:09 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Sep 2021 05:09:20 +0000 (00:09 -0500)
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>
fs/cifs/cifspdu.h
fs/smbfs_common/smbfsctl.h [moved from fs/cifs/smbfsctl.h with 100% similarity]

index dc920e206336f341b77728bf573767d641ebb590..98e8e5aa061376e99a1c6ed934ce439dcadc9506 100644 (file)
@@ -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)