From db1ec1295358293faffd3125bbd119d8c19d1fdf Mon Sep 17 00:00:00 2001 From: adilger Date: Sun, 10 Nov 2002 21:02:35 +0000 Subject: [PATCH] The test for a freeing inode was reversed, oops. We want to skip inodes that are marked I_FREEING. --- lustre/mdc/mdc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 01fffd8..40a1e38 100644 --- 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?" - if (!(inode->i_state & I_FREEING)) + if (inode->i_state & I_FREEING) break; LASSERT(inode != NULL); -- 1.8.3.1