Whamcloud - gitweb
The test for a freeing inode was reversed, oops. We want to skip inodes
authoradilger <adilger>
Sun, 10 Nov 2002 21:02:35 +0000 (21:02 +0000)
committeradilger <adilger>
Sun, 10 Nov 2002 21:02:35 +0000 (21:02 +0000)
that are marked I_FREEING.

lustre/mdc/mdc_request.c

index 01fffd8..40a1e38 100644 (file)
@@ -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);