diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-01-07 02:33:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1997-01-07 02:33:00 +0000 |
commit | beb116954b9b7f3bb56412b2494b562f02b864b1 (patch) | |
tree | 120e997879884e1b9d93b265221b939d2ef1ade1 /include/linux/ncp_fs_i.h | |
parent | 908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff) |
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'include/linux/ncp_fs_i.h')
-rw-r--r-- | include/linux/ncp_fs_i.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/linux/ncp_fs_i.h b/include/linux/ncp_fs_i.h new file mode 100644 index 000000000..02ad1b452 --- /dev/null +++ b/include/linux/ncp_fs_i.h @@ -0,0 +1,36 @@ +/* + * ncp_fs_i.h + * + * Copyright (C) 1995 Volker Lendecke + * + */ + +#ifndef _LINUX_NCP_FS_I +#define _LINUX_NCP_FS_I + +#include <linux/ncp.h> + +#ifdef __KERNEL__ + +enum ncp_inode_state { + NCP_INODE_VALID = 19, /* Inode currently in use */ + NCP_INODE_LOOKED_UP, /* directly before iget */ + NCP_INODE_CACHED, /* in a path to an inode which is in use */ + NCP_INODE_INVALID +}; + +/* + * ncp fs inode data (in memory only) + */ +struct ncp_inode_info { + enum ncp_inode_state state; + int nused; /* for directories: + number of references in memory */ + struct ncp_inode_info *dir; + struct ncp_inode_info *next, *prev; + struct inode *inode; + struct nw_file_info finfo; +}; + +#endif +#endif |