mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
JFS: FIx one more plain integer as NULL pointer warning
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
This commit is contained in:
parent
09aaa749f6
commit
da8a41d192
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
if (!rc) {
|
||||
if ((new_ip == 0) || (ino != new_ip->i_ino)) {
|
||||
if ((!new_ip) || (ino != new_ip->i_ino)) {
|
||||
rc = -ESTALE;
|
||||
goto out3;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue