summaryrefslogtreecommitdiffstats
path: root/include/linux/coda_cnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/coda_cnode.h')
-rw-r--r--include/linux/coda_cnode.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/include/linux/coda_cnode.h b/include/linux/coda_cnode.h
deleted file mode 100644
index 43bf1b2cc..000000000
--- a/include/linux/coda_cnode.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Cnode definitions for Coda.
- * Original version: (C) 1996 Peter Braam
- * Rewritten for Linux 2.1: (C) 1997 Carnegie Mellon University
- *
- * Carnegie Mellon encourages users of this code to contribute improvements
- * to the Coda project. Contact Peter Braam <coda@cs.cmu.edu>.
- */
-
-/* revamped cnode.h file: platform dependent, kernel only! */
-
-
-#ifndef _CNODE_H_
-#define _CNODE_H_
-#include <linux/coda.h>
-
-
-#define CODA_CNODE_MAGIC 0x47114711
-
-/* defintion of cnode, which combines ViceFid with inode information */
-struct cnode {
- struct inode *c_vnode; /* linux inode associated with cnode */
- ViceFid c_fid; /* Coda identifier */
- u_short c_flags; /* flags (see below) */
- int c_magic; /* to verify the data structure */
- u_short c_ocount; /* count of openers */
- u_short c_owrite; /* count of open for write */
- u_short c_mmcount; /* count of mmappers */
- struct inode *c_ovp; /* open vnode pointer */
- struct dentry c_odentry;
-};
-
-/* flags */
-#define C_VATTR 0x1 /* Validity of vattr in the cnode */
-#define C_SYMLINK 0x2 /* Validity of symlink pointer in the cnode */
-#define C_DYING 0x4 /* Set for outstanding cnodes from venus (which died) */
-
-struct cnode *coda_cnode_alloc(void);
-void coda_cnode_free(struct cnode *cinode);
-int coda_cnode_make(struct inode **inode, ViceFid *fid, struct super_block *sb);
-struct inode *coda_fid2inode(ViceFid *fid, struct super_block *sb);
-int coda_cnode_makectl(struct inode **inode, struct super_block *sb);
-
-
-
-#endif
-