blob: bdb4c8ae6924e4a0acc0ad123cd43cf8848f2721 [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;
Ingo Molnar8e3f9042006-03-23 03:00:43 -080022 struct mutex open_mutex;
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 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 */