[Cluster-devel] Re: [PATCH] gfs2/ops_file.c: fix build breakage

Steven Whitehouse swhiteho at redhat.com
Wed Feb 4 14:51:19 UTC 2009


Hi,

There is already a patch queued up in -mm to fix this. The issue is not
that GFS2 should depend upon FILE_LOCKING but that generic_setlease
should be defined so that this reference to it is correct even when
FILE_LOCKING is not selected,

Steve.

On Wed, 2009-02-04 at 17:49 +0300, Alexander Beregalov wrote:
> fs/gfs2/ops_file.c:746: error: 'generic_setlease' undeclared here (not
> in a function)
> 
> Signed-off-by: Alexander Beregalov <a.beregalov at gmail.com>
> ---
> 
>  fs/gfs2/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig
> index 3a981b7..97cefdf 100644
> --- a/fs/gfs2/Kconfig
> +++ b/fs/gfs2/Kconfig
> @@ -7,6 +7,7 @@ config GFS2_FS
>  	select IP_SCTP if DLM_SCTP
>  	select FS_POSIX_ACL
>  	select CRC32
> +	select FILE_LOCKING
>  	help
>  	  A cluster filesystem.
>  




More information about the Cluster-devel mailing list