• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
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 
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;
21 	struct mutex open_mutex;
22 	atomic_t	opened;
23 	int	access;
24 	int	flags;
25 #define NCPI_KLUDGE_SYMLINK	0x0001
26 #define NCPI_DIR_CACHE		0x0002
27 	__u8	file_handle[6];
28 	struct inode vfs_inode;
29 };
30 
31 #endif	/* _LINUX_NCP_FS_I */
32