Whamcloud - gitweb
Duh, repeat after me - compile before you commit.
authoradilger <adilger>
Thu, 17 Oct 2002 23:07:46 +0000 (23:07 +0000)
committeradilger <adilger>
Thu, 17 Oct 2002 23:07:46 +0000 (23:07 +0000)
lustre/llite/namei.c

index 24b66ac..1a5e9c3 100644 (file)
@@ -644,7 +644,7 @@ static int ll_common_unlink(struct inode *dir, struct dentry *dentry,__u32 mode)
                 GOTO(out, rc);
 
         rc = ext2_delete_entry(de, page);
-        if (err)
+        if (rc)
                 goto out;
 
         /* AED: not sure if needed - directory lock revocation should do it