Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 291c4a75 authored by Randy.Dunlap's avatar Randy.Dunlap Committed by Linus Torvalds
Browse files

[PATCH] reiserfs: use NULL instead of 0



Use NULL instead of 0 for pointer (sparse warning):
fs/reiserfs/namei.c:611:50: warning: Using plain integer as NULL pointer

Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a27e951f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -608,7 +608,7 @@ static int reiserfs_create (struct inode * dir, struct dentry *dentry, int mode,
        goto out_failed;
        goto out_failed;
    }
    }


    retval = reiserfs_new_inode (&th, dir, mode, 0, 0/*i_size*/, dentry, inode);
    retval = reiserfs_new_inode (&th, dir, mode, NULL, 0/*i_size*/, dentry, inode);
    if (retval)
    if (retval)
        goto out_failed;
        goto out_failed;