diff options
Diffstat (limited to 'fs/ocfs2/dcache.c')
-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 | } |