diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:49:38 -0500 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:50:23 -0500 |
commit | b5c84bf6f6fa3a7dfdcb556023a62953574b60ee (patch) | |
tree | 7a2c299a180713e21d5cb653cb933121adf53c31 /fs/ocfs2 | |
parent | 949854d02455080d20cd3e1db28a3a18daf7599d (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/ocfs2')
-rw-r--r-- | fs/ocfs2/dcache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/dcache.c b/fs/ocfs2/dcache.c index c31b5c647ac7..b7de749bdd12 100644 --- a/fs/ocfs2/dcache.c +++ b/fs/ocfs2/dcache.c | |||
@@ -169,7 +169,6 @@ struct dentry *ocfs2_find_local_alias(struct inode *inode, | |||
169 | struct list_head *p; | 169 | struct list_head *p; |
170 | struct dentry *dentry = NULL; | 170 | struct dentry *dentry = NULL; |
171 | 171 | ||
172 | spin_lock(&dcache_lock); | ||
173 | spin_lock(&dcache_inode_lock); | 172 | spin_lock(&dcache_inode_lock); |
174 | list_for_each(p, &inode->i_dentry) { | 173 | list_for_each(p, &inode->i_dentry) { |
175 | dentry = list_entry(p, struct dentry, d_alias); | 174 | dentry = list_entry(p, struct dentry, d_alias); |
@@ -189,7 +188,6 @@ struct dentry *ocfs2_find_local_alias(struct inode *inode, | |||
189 | } | 188 | } |
190 | 189 | ||
191 | spin_unlock(&dcache_inode_lock); | 190 | spin_unlock(&dcache_inode_lock); |
192 | spin_unlock(&dcache_lock); | ||
193 | 191 | ||
194 | return dentry; | 192 | return dentry; |
195 | } | 193 | } |