patch-2.4.0-test3 linux/fs/coda/cache.c
Next file: linux/fs/coda/dir.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Jul 5 11:30:59 2000
- Orig file:
v2.4.0-test2/linux/fs/coda/cache.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test2/linux/fs/coda/cache.c linux/fs/coda/cache.c
@@ -228,6 +228,7 @@
struct list_head *child;
struct dentry *de;
+ spin_lock(&dcache_lock);
list_for_each(child, &parent->d_subdirs)
{
de = list_entry(child, struct dentry, d_child);
@@ -239,6 +240,7 @@
de->d_parent->d_name.len, de->d_parent->d_name.name);
coda_flag_inode(de->d_inode, flag);
}
+ spin_unlock(&dcache_lock);
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)