blob: 415be1ec6f98127f1f83c7e6f1d3bf2558173f68 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 */
17struct 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 */