Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d08a9
)
add workaround for race in dcache with patchless client.
author
shadow
<shadow>
Mon, 8 Sep 2008 08:55:42 +0000
(08:55 +0000)
committer
shadow
<shadow>
Mon, 8 Sep 2008 08:55:42 +0000
(08:55 +0000)
Branch b1_8_gate
b=15975
i=johann
i=adilger
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
3e99635
..
b0a1d96
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-3023,9
+3023,11
@@
int ll_inode_revalidate_it(struct dentry *dentry, struct lookup_intent *it)
here to preserve get_cwd functionality on 2.6.
Bug 10503 */
if (!dentry->d_inode->i_nlink) {
+ spin_lock(&ll_lookup_lock);
spin_lock(&dcache_lock);
ll_drop_dentry(dentry);
spin_unlock(&dcache_lock);
+ spin_unlock(&ll_lookup_lock);
}
ll_lookup_finish_locks(&oit, dentry);