patch-2.1.132 linux/fs/coda/cache.c

Next file: linux/fs/coda/cnode.c
Previous file: linux/fs/coda/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/fs/coda/cache.c linux/fs/coda/cache.c
@@ -306,11 +306,12 @@
 	return; 
 }
 
-void coda_purge_children(struct inode *inode)
+void coda_flag_inode_children(struct inode *inode, int flag)
 {
 	struct list_head *alias;
 	struct dentry *alias_de;
 
+	ENTRY;
 	if ( !inode ) 
 		return; 
 
@@ -324,7 +325,7 @@
 	alias = inode->i_dentry.next; 
 	while ( alias != &inode->i_dentry ) {
 		alias_de = list_entry(alias, struct dentry, d_alias);
-		coda_flag_children(alias_de, C_PURGE);
+		coda_flag_children(alias_de, flag);
 		shrink_dcache_parent(alias_de);
 		alias = alias->next;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov