summaryrefslogtreecommitdiff
path: root/include/linux/smb_fs.h
diff options
context:
space:
mode:
authorUrban Widmark <urban@teststation.com>2002-09-29 02:02:49 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-29 02:02:49 -0700
commit62c4f318c08bc37fee233cd940111ec81bbefe9e (patch)
tree527534b98b19b1cfbd119cbe1b9f30520edb10ee /include/linux/smb_fs.h
parentadd283989e10afc720bc5db3358e7c0d95d6765b (diff)
[PATCH] SMB Unix Extensions
This patch adds symlinks, hardlinks, device nodes, uid/gid, unix permissions vs servers that support it (ie samba). Most of this is the work of John Newbigin, I just modified it for 2.5. There are issues with what samba allows (eg you can't make arbitrary symlinks) and room for improvements (use the servers value for ino?). But it doesn't affect "normal" users.
Diffstat (limited to 'include/linux/smb_fs.h')
-rw-r--r--include/linux/smb_fs.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/include/linux/smb_fs.h b/include/linux/smb_fs.h
index be0f419928bc..41f9cd84c0b9 100644
--- a/include/linux/smb_fs.h
+++ b/include/linux/smb_fs.h
@@ -112,19 +112,20 @@ smb_kfree(void *obj)
/* NT1 protocol capability bits */
-#define SMB_CAP_RAW_MODE 0x0001
-#define SMB_CAP_MPX_MODE 0x0002
-#define SMB_CAP_UNICODE 0x0004
-#define SMB_CAP_LARGE_FILES 0x0008
-#define SMB_CAP_NT_SMBS 0x0010
-#define SMB_CAP_RPC_REMOTE_APIS 0x0020
-#define SMB_CAP_STATUS32 0x0040
-#define SMB_CAP_LEVEL_II_OPLOCKS 0x0080
-#define SMB_CAP_LOCK_AND_READ 0x0100
-#define SMB_CAP_NT_FIND 0x0200
-#define SMB_CAP_DFS 0x1000
-#define SMB_CAP_LARGE_READX 0x4000
-#define SMB_CAP_LARGE_WRITEX 0x8000
+#define SMB_CAP_RAW_MODE 0x00000001
+#define SMB_CAP_MPX_MODE 0x00000002
+#define SMB_CAP_UNICODE 0x00000004
+#define SMB_CAP_LARGE_FILES 0x00000008
+#define SMB_CAP_NT_SMBS 0x00000010
+#define SMB_CAP_RPC_REMOTE_APIS 0x00000020
+#define SMB_CAP_STATUS32 0x00000040
+#define SMB_CAP_LEVEL_II_OPLOCKS 0x00000080
+#define SMB_CAP_LOCK_AND_READ 0x00000100
+#define SMB_CAP_NT_FIND 0x00000200
+#define SMB_CAP_DFS 0x00001000
+#define SMB_CAP_LARGE_READX 0x00004000
+#define SMB_CAP_LARGE_WRITEX 0x00008000
+#define SMB_CAP_UNIX 0x00800000 /* unofficial ... */
/*