Whamcloud - gitweb
Fix harmless compile warning. Not sure the code is correct, though, since
authoradilger <adilger>
Fri, 16 Aug 2002 20:37:47 +0000 (20:37 +0000)
committeradilger <adilger>
Fri, 16 Aug 2002 20:37:47 +0000 (20:37 +0000)
it would appear to preclude unlinking a non-regular, non-directory file.

lustre/mds/mds_reint.c

index 939eeaf..f626289 100644 (file)
@@ -466,6 +466,7 @@ static int mds_reint_unlink(struct mds_update_record *rec, int offset,
                 rc = vfs_unlink(dir, dchild);
                 break;
         default:
+                handle = NULL;
                 LBUG();
         }