4 * Copyright (C) 1995 Volker Lendecke
8 #ifndef _LINUX_NCP_FS_I
9 #define _LINUX_NCP_FS_I
11 #include <linux/ncp.h>
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 */
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
;
32 struct nw_file_info finfo
;