summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRandy.Dunlap <rddunlap@osdl.org>2005-05-05 16:16:11 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-05 16:36:48 -0700
commit291c4a75ce7632ee5c565359fb875ba0597f76be (patch)
treebe0fe48738b481b4b172cc9a98ac799ca79aece2 /fs
parenta27e951f1e9362411eba81e724fafca20f1b0563 (diff)
downloadop-kernel-dev-291c4a75ce7632ee5c565359fb875ba0597f76be.zip
op-kernel-dev-291c4a75ce7632ee5c565359fb875ba0597f76be.tar.gz
[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: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/reiserfs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c
index 80e92d9..7d4dc5f 100644
--- a/fs/reiserfs/namei.c
+++ b/fs/reiserfs/namei.c
@@ -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;
OpenPOWER on IntegriCloud