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:
c22a0e4
)
The test for a freeing inode was reversed, oops. We want to skip inodes
author
adilger
<adilger>
Sun, 10 Nov 2002 21:02:35 +0000
(21:02 +0000)
committer
adilger
<adilger>
Sun, 10 Nov 2002 21:02:35 +0000
(21:02 +0000)
that are marked I_FREEING.
lustre/mdc/mdc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_request.c
b/lustre/mdc/mdc_request.c
index
01fffd8
..
40a1e38
100644
(file)
--- a/
lustre/mdc/mdc_request.c
+++ b/
lustre/mdc/mdc_request.c
@@
-200,7
+200,7
@@
static int mdc_blocking_ast(struct ldlm_lock *lock, struct ldlm_lock_desc *desc,
struct inode *inode = data;
#warning "FIXME: what tells us that 'inode' is valid at all?"
struct inode *inode = data;
#warning "FIXME: what tells us that 'inode' is valid at all?"
- if (
!(inode->i_state & I_FREEING)
)
+ if (
inode->i_state & I_FREEING
)
break;
LASSERT(inode != NULL);
break;
LASSERT(inode != NULL);