JFS: Remove defconfig ptr comparison to 0
[deliverable/linux.git] / fs / jfs / namei.c
index 4e0a8493cef69c394bcab1478f0872e7268b0425..d6e5ebad739a3cbf8723853631e16dcea978d88b 100644 (file)
@@ -1103,7 +1103,7 @@ static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry,
         * Make sure dest inode number (if any) is what we think it is
         */
        rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP);
-       if (rc == 0) {
+       if (!rc) {
                if ((new_ip == 0) || (ino != new_ip->i_ino)) {
                        rc = -ESTALE;
                        goto out3;
This page took 0.038676 seconds and 5 git commands to generate.