patch-2.1.89 linux/include/linux/coda_linux.h
Next file: linux/include/linux/elf.h
Previous file: linux/include/linux/coda_fs_i.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Wed Mar 4 15:14:32 1998
- Orig file:
v2.1.88/linux/include/linux/coda_linux.h
- Orig date:
Tue Jan 6 10:00:22 1998
diff -u --recursive --new-file v2.1.88/linux/include/linux/coda_linux.h linux/include/linux/coda_linux.h
@@ -43,7 +43,7 @@
extern int coda_access_cache;
/* this file: heloers */
-char *coda_f2s(ViceFid *f, char *s);
+char *coda_f2s(ViceFid *f);
int coda_isroot(struct inode *i);
int coda_fid_is_volroot(struct ViceFid *);
int coda_iscontrol(const char *name, size_t length);
@@ -93,22 +93,7 @@
#define EXIT \
if(coda_print_entry) printk("Process %d leaving %s\n",current->pid,__FUNCTION__)
-
-
-#define CHECK_CNODE(c) \
-do { \
- if ( coda_debug ) {\
- struct cnode *cnode = (c); \
- if (!cnode) \
- printk ("%s(%d): cnode is null\n", __FUNCTION__, __LINE__); \
- if (cnode->c_magic != CODA_CNODE_MAGIC) \
- printk ("%s(%d): cnode magic wrong\n", __FUNCTION__, __LINE__); \
- if (!cnode->c_vnode) \
- printk ("%s(%d): cnode has null inode\n", __FUNCTION__, __LINE__); \
- if ( (struct cnode *)cnode->c_vnode->u.generic_ip != cnode ) \
- printk("AAooh, %s(%d) cnode doesn't link right!\n", __FUNCTION__,__LINE__);\
-}} while (0);
-
+#define CHECK_CNODE(c) do { } while (0);
#define CODA_ALLOC(ptr, cast, size) \
do { \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov