ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / linux / ncp_fs_i.h
1 /*
2  *  ncp_fs_i.h
3  *
4  *  Copyright (C) 1995 Volker Lendecke
5  *
6  */
7
8 #ifndef _LINUX_NCP_FS_I
9 #define _LINUX_NCP_FS_I
10
11 #ifdef __KERNEL__
12
13 /*
14  * This is the ncpfs part of the inode structure. This must contain
15  * all the information we need to work with an inode after creation.
16  */
17 struct ncp_inode_info {
18         __u32   dirEntNum;
19         __u32   DosDirNum;
20         __u32   volNumber;
21         __u32   nwattr;
22         struct semaphore open_sem;
23         atomic_t        opened;
24         int     access;
25         int     flags;
26 #define NCPI_KLUDGE_SYMLINK     0x0001
27         __u8    file_handle[6];
28         struct inode vfs_inode;
29 };
30
31 #endif  /* __KERNEL__ */
32
33 #endif  /* _LINUX_NCP_FS_I */