patch-2.1.52 linux/include/linux/smb_fs_i.h
Next file: linux/include/linux/smb_fs_sb.h
Previous file: linux/include/linux/smb_fs.h
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Fri Aug 22 10:04:33 1997
- Orig file:
v2.1.51/linux/include/linux/smb_fs_i.h
- Orig date:
Sun Dec 1 08:59:35 1996
diff -u --recursive --new-file v2.1.51/linux/include/linux/smb_fs_i.h linux/include/linux/smb_fs_i.h
@@ -2,6 +2,7 @@
* smb_fs_i.h
*
* Copyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke
+ * Copyright (C) 1997 by Volker Lendecke
*
*/
@@ -9,25 +10,22 @@
#define _LINUX_SMB_FS_I
#ifdef __KERNEL__
-#include <linux/smb.h>
-
-enum smb_inode_state {
- SMB_INODE_VALID = 19, /* Inode currently in use */
- SMB_INODE_LOOKED_UP, /* directly before iget */
- SMB_INODE_CACHED, /* in a path to an inode which is in use */
- SMB_INODE_INVALID
-};
+#include <linux/types.h>
/*
* smb fs inode data (in memory only)
*/
struct smb_inode_info {
- enum smb_inode_state state;
- int nused; /* for directories:
- number of references in memory */
- struct smb_inode_info *dir;
- struct smb_inode_info *next, *prev;
- struct smb_dirent finfo;
+
+ /*
+ * file handles are local to a connection. A file is open if
+ * (open == generation).
+ */
+ unsigned int open;
+ __u16 fileid; /* What id to handle a file with? */
+ __u16 attr; /* Attribute fields, DOS value */
+
+ __u16 access; /* Access bits. */
};
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov