pre-2.3.4..
[davej-history.git] / include / linux / ncp_fs_i.h
blob3df38b28777e82a581e6911c4b1bafc236c15139
1 /*
2 * ncp_fs_i.h
4 * Copyright (C) 1995 Volker Lendecke
6 */
8 #ifndef _LINUX_NCP_FS_I
9 #define _LINUX_NCP_FS_I
11 #include <linux/ncp.h>
13 #ifdef __KERNEL__
15 enum ncp_inode_state {
16 NCP_INODE_VALID = 19, /* Inode currently in use */
17 NCP_INODE_LOOKED_UP, /* directly before iget */
18 NCP_INODE_CACHED, /* in a path to an inode which is in use */
19 NCP_INODE_INVALID
23 * ncp fs inode data (in memory only)
25 struct ncp_inode_info {
26 enum ncp_inode_state state;
27 int nused; /* for directories:
28 number of references in memory */
29 struct ncp_inode_info *dir;
30 struct ncp_inode_info *next, *prev;
31 struct inode *inode;
32 struct nw_file_info finfo;
35 #endif
36 #endif