JFS: Remove defconfig ptr comparison to 0
Remove sparse warning: Using plain integer as NULL pointer Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
This commit is contained in:

committed by
Dave Kleikamp

parent
a7fe0ba7ee
commit
09aaa749f6
@@ -147,7 +147,7 @@ int jfs_mount(struct super_block *sb)
|
||||
*/
|
||||
if ((sbi->mntflag & JFS_BAD_SAIT) == 0) {
|
||||
ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1);
|
||||
if (ipaimap2 == 0) {
|
||||
if (!ipaimap2) {
|
||||
jfs_err("jfs_mount: Faild to read AGGREGATE_I");
|
||||
rc = -EIO;
|
||||
goto errout35;
|
||||
|
Reference in New Issue
Block a user