Whamcloud - gitweb
Fix stupid deadlock-causing mistake in llite file locking callback
authorpschwan <pschwan>
Thu, 8 Aug 2002 11:22:35 +0000 (11:22 +0000)
committerpschwan <pschwan>
Thu, 8 Aug 2002 11:22:35 +0000 (11:22 +0000)
lustre/llite/file.c

index 19ff845..caea04b 100644 (file)
@@ -230,11 +230,6 @@ static int ll_lock_callback(struct lustre_handle *lockh,
         struct inode *inode = data;
         ENTRY;
 
-        if (new == NULL) {
-                /* Completion AST.  Do nothing. */
-                RETURN(0);
-        }
-
         if (data_len != sizeof(struct inode))
                 LBUG();