From: adilger Date: Sun, 10 Nov 2002 21:02:35 +0000 (+0000) Subject: The test for a freeing inode was reversed, oops. We want to skip inodes X-Git-Tag: 0.5.17~36 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=db1ec1295358293faffd3125bbd119d8c19d1fdf;p=fs%2Flustre-release.git The test for a freeing inode was reversed, oops. We want to skip inodes that are marked I_FREEING. --- 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);