From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/fs/ncpfs/ncp_fs_i.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ANDROID_3.4.5/fs/ncpfs/ncp_fs_i.h (limited to 'ANDROID_3.4.5/fs/ncpfs/ncp_fs_i.h') diff --git a/ANDROID_3.4.5/fs/ncpfs/ncp_fs_i.h b/ANDROID_3.4.5/fs/ncpfs/ncp_fs_i.h new file mode 100644 index 00000000..4b0bec47 --- /dev/null +++ b/ANDROID_3.4.5/fs/ncpfs/ncp_fs_i.h @@ -0,0 +1,29 @@ +/* + * 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; + struct mutex open_mutex; + atomic_t opened; + int access; + int flags; +#define NCPI_KLUDGE_SYMLINK 0x0001 + __u8 file_handle[6]; + struct inode vfs_inode; +}; + +#endif /* _LINUX_NCP_FS_I */ -- cgit