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:
96b4084
)
b=20433 we should recycle dentries and inodes if only cancelling locks existing
author
Landen
<landen@sun.com>
Fri, 30 Jul 2010 07:35:08 +0000
(15:35 +0800)
committer
Johann Lombardi
<johann.lombardi@oracle.com>
Fri, 30 Jul 2010 13:49:54 +0000
(15:49 +0200)
i=green
i=adilger
lustre/llite/dcache.c
patch
|
blob
|
history
diff --git
a/lustre/llite/dcache.c
b/lustre/llite/dcache.c
index
09779aa
..
e4c3762
100644
(file)
--- a/
lustre/llite/dcache.c
+++ b/
lustre/llite/dcache.c
@@
-113,6
+113,8
@@
int ll_dcompare(struct dentry *parent, struct qstr *d_name, struct qstr *name)
static inline int return_if_equal(struct ldlm_lock *lock, void *data)
{
+ if (lock->l_flags & LDLM_FL_CANCELING)
+ return LDLM_ITER_CONTINUE;
return LDLM_ITER_STOP;
}