Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | /* |
3 | * ncp_fs_i.h | |
4 | * | |
5 | * Copyright (C) 1995 Volker Lendecke | |
6 | * | |
7 | */ | |
8 | ||
9 | #ifndef _LINUX_NCP_FS_I | |
10 | #define _LINUX_NCP_FS_I | |
11 | ||
1da177e4 LT |
12 | /* |
13 | * This is the ncpfs part of the inode structure. This must contain | |
14 | * all the information we need to work with an inode after creation. | |
15 | */ | |
16 | struct ncp_inode_info { | |
17 | __le32 dirEntNum; | |
18 | __le32 DosDirNum; | |
19 | __u8 volNumber; | |
20 | __le32 nwattr; | |
8e3f9045 | 21 | struct mutex open_mutex; |
1da177e4 LT |
22 | atomic_t opened; |
23 | int access; | |
24 | int flags; | |
25 | #define NCPI_KLUDGE_SYMLINK 0x0001 | |
5e993e25 | 26 | #define NCPI_DIR_CACHE 0x0002 |
1da177e4 LT |
27 | __u8 file_handle[6]; |
28 | struct inode vfs_inode; | |
29 | }; | |
30 | ||
1da177e4 | 31 | #endif /* _LINUX_NCP_FS_I */ |