Skip to content

Commit

Permalink
[PATCH] reiserfs: use NULL instead of 0
Browse files Browse the repository at this point in the history
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: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Randy.Dunlap authored and Linus Torvalds committed May 5, 2005
1 parent a27e951 commit 291c4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/reiserfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ static int reiserfs_create (struct inode * dir, struct dentry *dentry, int mode,
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)
goto out_failed;

Expand Down

0 comments on commit 291c4a7

Please sign in to comment.