Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | /* |
| 12 | * This is the ncpfs part of the inode structure. This must contain |
| 13 | * all the information we need to work with an inode after creation. |
| 14 | */ |
| 15 | struct ncp_inode_info { |
| 16 | __le32 dirEntNum; |
| 17 | __le32 DosDirNum; |
| 18 | __u8 volNumber; |
| 19 | __le32 nwattr; |
Ingo Molnar | 8e3f904 | 2006-03-23 03:00:43 -0800 | [diff] [blame] | 20 | struct mutex open_mutex; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | atomic_t opened; |
| 22 | int access; |
| 23 | int flags; |
| 24 | #define NCPI_KLUDGE_SYMLINK 0x0001 |
| 25 | __u8 file_handle[6]; |
| 26 | struct inode vfs_inode; |
| 27 | }; |
| 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | #endif /* _LINUX_NCP_FS_I */ |