xfs
[Top] [All Lists]

Re: [PATCH] fix compilation without CONFIG_PROC_FS

To: Christoph Hellwig <hch@xxxxxx>
Subject: Re: [PATCH] fix compilation without CONFIG_PROC_FS
From: Timothy Shimmin <tes@xxxxxxx>
Date: Fri, 04 Jul 2008 17:10:53 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20080702193630.GA19715@xxxxxx>
References: <20080702193630.GA19715@xxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
I'll check it in.
--Tim

Christoph Hellwig wrote:
> 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>