Hi,thanks, vs. will look into it and get back to you.
sparse complains about passing 0 to functions execting a pointer argument:
CHECK fs/reiserfs/namei.c
fs/reiserfs/namei.c:617:50: warning: Using plain integer as NULL pointer
Trivial patch to change it to pass NULL instead below.
Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>
diff -up linux-2.6.10-rc2-bk6-orig/fs/reiserfs/namei.c linux-2.6.10-rc2-bk6/fs/reiserfs/namei.c
--- linux-2.6.10-rc2-bk6-orig/fs/reiserfs/namei.c 2004-11-17 01:20:16.000000000 +0100
+++ linux-2.6.10-rc2-bk6/fs/reiserfs/namei.c 2004-11-21 22:52:41.000000000 +0100
@@ -614,7 +614,7 @@ static int reiserfs_create (struct inode
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;