aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda/cache.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@kernel.dk>2011-01-07 01:49:38 -0500
committerNick Piggin <npiggin@kernel.dk>2011-01-07 01:50:23 -0500
commitb5c84bf6f6fa3a7dfdcb556023a62953574b60ee (patch)
tree7a2c299a180713e21d5cb653cb933121adf53c31 /fs/coda/cache.c
parent949854d02455080d20cd3e1db28a3a18daf7599d (diff)
fs: dcache remove dcache_lock
dcache_lock no longer protects anything. remove it. Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'fs/coda/cache.c')
-rw-r--r--fs/coda/cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/coda/cache.c b/fs/coda/cache.c
index 859393fca2b..5525e1c660f 100644
--- a/fs/coda/cache.c
+++ b/fs/coda/cache.c
@@ -93,7 +93,6 @@ static void coda_flag_children(struct dentry *parent, int flag)
93 struct list_head *child; 93 struct list_head *child;
94 struct dentry *de; 94 struct dentry *de;
95 95
96 spin_lock(&dcache_lock);
97 spin_lock(&parent->d_lock); 96 spin_lock(&parent->d_lock);
98 list_for_each(child, &parent->d_subdirs) 97 list_for_each(child, &parent->d_subdirs)
99 { 98 {
@@ -104,7 +103,6 @@ static void coda_flag_children(struct dentry *parent, int flag)
104 coda_flag_inode(de->d_inode, flag); 103 coda_flag_inode(de->d_inode, flag);
105 } 104 }
106 spin_unlock(&parent->d_lock); 105 spin_unlock(&parent->d_lock);
107 spin_unlock(&dcache_lock);
108 return; 106 return;
109} 107}
110 108