Skip to contentSkip to conversation

fix compilation without CONFIG_PROC_FS

PATCH In review Christoph Hellwig 2 participants 2 messages Jul 2, 2008 – Jul 4, 2008 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix compilation without CONFIG_PROC_FS

fs/xfs/linux-2.6/xfs_stats.h +4 -3
Index: linux-2.6-xfs/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 */
 
#1 lore raw

I'll check it in.
--Tim

Quoted 23 lines · Christoph Hellwig

Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_stats.h
===================================================================

fs/xfs/linux-2.6/xfs_stats.h +4 -3
@@ -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 */