patch-2.1.109 linux/fs/coda/inode.c
Next file: linux/fs/coda/pioctl.c
Previous file: linux/fs/coda/dir.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Jul 10 15:33:37 1998
- Orig file:
v2.1.108/linux/fs/coda/inode.c
- Orig date:
Sun Jun 7 11:16:36 1998
diff -u --recursive --new-file v2.1.108/linux/fs/coda/inode.c linux/fs/coda/inode.c
@@ -48,7 +48,7 @@
int bufsiz);
/* helper functions */
-static inline struct vcomm *coda_psinode2vcomm(struct inode *inode);
+static struct vcomm *coda_psinode2vcomm(struct inode *inode);
static int coda_get_psdev(void *, struct inode **);
static struct coda_sb_info *coda_psinode2sbi(struct inode *inode);
@@ -211,7 +211,7 @@
}
- if ( coda_fid_is_volroot(&cii->c_fid) )
+ if ( ! list_empty(&cii->c_volrootlist) )
list_del(&cii->c_volrootlist);
open_inode = cii->c_ovp;
@@ -223,7 +223,7 @@
}
coda_cache_clear_inode(inode);
-
+ CDEBUG(D_DOWNCALL, "clearing inode: %ld, %x\n", inode->i_ino, cii->c_flags);
inode->u.generic_ip = NULL;
clear_inode(inode);
EXIT;
@@ -291,7 +291,7 @@
/* MODULE stuff is in psdev.c */
/* helpers */
-static inline struct vcomm *coda_psinode2vcomm(struct inode *inode)
+static struct vcomm *coda_psinode2vcomm(struct inode *inode)
{
unsigned int minor = MINOR(inode->i_rdev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov