* [PATCH] fix compilation without CONFIG_PROC_FS
@ 2008-07-02 19:36 Christoph Hellwig
2008-07-04 7:10 ` Timothy Shimmin
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2008-07-02 19:36 UTC (permalink / raw)
To: xfs
Signed-off-by: Christoph Hellwig <hch@lst.de>
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 */
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] fix compilation without CONFIG_PROC_FS
2008-07-02 19:36 [PATCH] fix compilation without CONFIG_PROC_FS Christoph Hellwig
@ 2008-07-04 7:10 ` Timothy Shimmin
0 siblings, 0 replies; 2+ messages in thread
From: Timothy Shimmin @ 2008-07-04 7:10 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs
I'll check it in.
--Tim
Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
>
> 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 */
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-04 7:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 19:36 [PATCH] fix compilation without CONFIG_PROC_FS Christoph Hellwig
2008-07-04 7:10 ` Timothy Shimmin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox