added a lot of printk output to ease writing of emulator
[linux-2.4.21-pre4.git] / include / linux / ncp_fs_i.h
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
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  */
17 struct ncp_inode_info {
18         __u32   dirEntNum __attribute__((packed));
19         __u32   DosDirNum __attribute__((packed));
20         __u32   volNumber __attribute__((packed));
21         __u32   nwattr;
22         struct semaphore open_sem;
23         atomic_t        opened;
24         int     access;
25         __u32   server_file_handle __attribute__((packed));
26         __u8    open_create_action __attribute__((packed));
27         __u8    file_handle[6] __attribute__((packed));
28 };
29
30 #endif  /* __KERNEL__ */
31
32 #endif  /* _LINUX_NCP_FS_I */