patch-2.4.0-test7 linux/include/linux/smb_mount.h
Next file: linux/include/linux/sound.h
Previous file: linux/include/linux/smb_fs_sb.h
Back to the patch index
Back to the overall index
- Lines: 48
- Date:
Mon Aug 14 13:31:10 2000
- Orig file:
v2.4.0-test6/linux/include/linux/smb_mount.h
- Orig date:
Thu Aug 27 10:58:23 1998
diff -u --recursive --new-file v2.4.0-test6/linux/include/linux/smb_mount.h linux/include/linux/smb_mount.h
@@ -11,7 +11,7 @@
#include <linux/types.h>
-#define SMB_MOUNT_VERSION 6
+#define SMB_MOUNT_VERSION 6
struct smb_mount_data {
int version;
@@ -21,5 +21,38 @@
__kernel_mode_t file_mode;
__kernel_mode_t dir_mode;
};
+
+
+#ifdef __KERNEL__
+
+/* "vers" in big-endian */
+#define SMB_MOUNT_ASCII 0x76657273
+
+#define SMB_MOUNT_OLDVERSION 6
+#undef SMB_MOUNT_VERSION
+#define SMB_MOUNT_VERSION 7
+
+/* flags */
+#define SMB_MOUNT_WIN95 0x0001 /* Win 95 server */
+#define SMB_MOUNT_OLDATTR 0x0002 /* Use core getattr (Win 95 speedup) */
+#define SMB_MOUNT_DIRATTR 0x0004 /* Use find_first for getattr */
+#define SMB_MOUNT_CASE 0x0008 /* Be case sensitive */
+
+
+struct smb_mount_data_kernel {
+ int version;
+
+ __kernel_uid_t mounted_uid; /* Who may umount() this filesystem? */
+ __kernel_uid_t uid;
+ __kernel_gid_t gid;
+ __kernel_mode_t file_mode;
+ __kernel_mode_t dir_mode;
+
+ u32 flags;
+
+ struct smb_nls_codepage codepage;
+};
+
+#endif
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)