summaryrefslogtreecommitdiff
path: root/linux/fs/ncpfs/ncp_fs_i.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
commita1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch)
treec34b2311e37ea31db153c90cb8f4570374d05e78 /linux/fs/ncpfs/ncp_fs_i.h
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/fs/ncpfs/ncp_fs_i.h')
-rw-r--r--linux/fs/ncpfs/ncp_fs_i.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/linux/fs/ncpfs/ncp_fs_i.h b/linux/fs/ncpfs/ncp_fs_i.h
new file mode 100644
index 00000000..c4794504
--- /dev/null
+++ b/linux/fs/ncpfs/ncp_fs_i.h
@@ -0,0 +1,30 @@
+/*
+ * 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
+#define NCPI_DIR_CACHE 0x0002
+ __u8 file_handle[6];
+ struct inode vfs_inode;
+};
+
+#endif /* _LINUX_NCP_FS_I */