diff options
Diffstat (limited to 'include/linux/ncp_fs_i.h')
-rw-r--r-- | include/linux/ncp_fs_i.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/linux/ncp_fs_i.h b/include/linux/ncp_fs_i.h new file mode 100644 index 000000000000..415be1ec6f98 --- /dev/null +++ b/include/linux/ncp_fs_i.h | |||
@@ -0,0 +1,33 @@ | |||
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 | __le32 dirEntNum; | ||
19 | __le32 DosDirNum; | ||
20 | __u8 volNumber; | ||
21 | __le32 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 */ | ||