Commit da8a41d1 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: FIx one more plain integer as NULL pointer warning

Signed-off-by: default avatarDave Kleikamp <shaggy@linux.vnet.ibm.com>
parent 09aaa749
...@@ -1104,7 +1104,7 @@ static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry, ...@@ -1104,7 +1104,7 @@ static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry,
*/ */
rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP); rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP);
if (!rc) { if (!rc) {
if ((new_ip == 0) || (ino != new_ip->i_ino)) { if ((!new_ip) || (ino != new_ip->i_ino)) {
rc = -ESTALE; rc = -ESTALE;
goto out3; goto out3;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment