]> err.no Git - linux-2.6/commitdiff
[XFS] fix compilation without CONFIG_PROC_FS
authorChristoph Hellwig <hch@infradead.org>
Fri, 18 Jul 2008 07:12:50 +0000 (17:12 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:59:31 +0000 (16:59 +1000)
SGI-PV: 984019

SGI-Modid: xfs-linux-melb:xfs-kern:31408a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_stats.h

index 3fa753d7b700b7e2322105b94a7fd16e3c116e01..e83820febc9feacc8b642f3555d147017048c1c8 100644 (file)
@@ -146,11 +146,12 @@ extern void xfs_cleanup_procfs(void);
 
 static inline int xfs_init_procfs(void)
 {
-       return 0
-};
+       return 0;
+}
+
 static inline void xfs_cleanup_procfs(void)
 {
-};
+}
 
 #endif /* !CONFIG_PROC_FS */