2005-04-17 05:20:36 +07:00
|
|
|
/*
|
|
|
|
* ncp_fs_i.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 1995 Volker Lendecke
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LINUX_NCP_FS_I
|
|
|
|
#define _LINUX_NCP_FS_I
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This is the ncpfs part of the inode structure. This must contain
|
|
|
|
* all the information we need to work with an inode after creation.
|
|
|
|
*/
|
|
|
|
struct ncp_inode_info {
|
|
|
|
__le32 dirEntNum;
|
|
|
|
__le32 DosDirNum;
|
|
|
|
__u8 volNumber;
|
|
|
|
__le32 nwattr;
|
2006-03-23 18:00:43 +07:00
|
|
|
struct mutex open_mutex;
|
2005-04-17 05:20:36 +07:00
|
|
|
atomic_t opened;
|
|
|
|
int access;
|
|
|
|
int flags;
|
|
|
|
#define NCPI_KLUDGE_SYMLINK 0x0001
|
2014-12-25 09:41:47 +07:00
|
|
|
#define NCPI_DIR_CACHE 0x0002
|
2005-04-17 05:20:36 +07:00
|
|
|
__u8 file_handle[6];
|
|
|
|
struct inode vfs_inode;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _LINUX_NCP_FS_I */
|