xfs
[Top] [All Lists]

[PATCH] fix compilation without CONFIG_PROC_FS

To: xfs@xxxxxxxxxxx
Subject: [PATCH] fix compilation without CONFIG_PROC_FS
From: Christoph Hellwig <hch@xxxxxx>
Date: Wed, 2 Jul 2008 21:36:30 +0200
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_stats.h
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/linux-2.6/xfs_stats.h     2008-06-27 
15:16:21.000000000 +0200
+++ linux-2.6-xfs/fs/xfs/linux-2.6/xfs_stats.h  2008-06-27 15:19:18.000000000 
+0200
@@ -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 */
 


<Prev in Thread] Current Thread [Next in Thread>