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

From: Steven Whitehouse
Date: Wed Feb 04 2009 - 09:56:21 EST


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@xxxxxxxxx>
> ---
>
> 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.
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/