]> git.neil.brown.name Git - history.git/commitdiff
[XFS] sparse: fix remaining NULL vs zero uses.
authorNathan Scott <nathans@sgi.com>
Thu, 19 Aug 2004 21:12:46 +0000 (07:12 +1000)
committerNathan Scott <nathans@lips.borg.umn.edu>
Thu, 19 Aug 2004 21:12:46 +0000 (07:12 +1000)
SGI Modid: xfs-linux:xfs-kern:174857a
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_stats.c

index 86b633e7a20a365871122caf4d6381e0cf2f82c6..aaf5ddba47f300245ab297ae98574c8f83cb9d51 100644 (file)
@@ -119,9 +119,9 @@ xfs_read_xfsstats(
 void
 xfs_init_procfs(void)
 {
-       if (!proc_mkdir("fs/xfs", 0))
+       if (!proc_mkdir("fs/xfs", NULL))
                return;
-       create_proc_read_entry("fs/xfs/stat", 0, 0, xfs_read_xfsstats, NULL);
+       create_proc_read_entry("fs/xfs/stat", 0, NULL, xfs_read_xfsstats, NULL);
 }
 
 void