summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-07-18 09:12:50 +0200
committerNiv Sardi <xaiki@debian.org>2008-07-28 08:59:31 +0200
commit766b0925c07cd363c17ff54ebf59b6d34d8042d5 (patch)
tree780d34454313c039e65efbe295bd02aa010f329c /fs/xfs/linux-2.6
parent[XFS] s/XFS_PURGE_INODE/IRELE/g s/VN_HOLD(XFS_ITOV())/IHOLD()/ (diff)
downloadlinux-766b0925c07cd363c17ff54ebf59b6d34d8042d5.tar.xz
linux-766b0925c07cd363c17ff54ebf59b6d34d8042d5.zip
[XFS] fix compilation without CONFIG_PROC_FS
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>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r--fs/xfs/linux-2.6/xfs_stats.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_stats.h b/fs/xfs/linux-2.6/xfs_stats.h
index 3fa753d7b700..e83820febc9f 100644
--- a/fs/xfs/linux-2.6/xfs_stats.h
+++ b/fs/xfs/linux-2.6/xfs_stats.h
@@ -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 */