public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gfs2/ops_file.c: fix build breakage
@ 2009-02-04 14:49 Alexander Beregalov
  2009-02-04 14:51 ` Steven Whitehouse
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-02-04 14:49 UTC (permalink / raw)
  To: swhiteho, cluster-devel, linux-kernel


fs/gfs2/ops_file.c:746: error: 'generic_setlease' undeclared here (not
in a function)

Signed-off-by: Alexander Beregalov <a.beregalov@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.
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gfs2/ops_file.c: fix build breakage
  2009-02-04 14:49 [PATCH] gfs2/ops_file.c: fix build breakage Alexander Beregalov
@ 2009-02-04 14:51 ` Steven Whitehouse
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Whitehouse @ 2009-02-04 14:51 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: cluster-devel, linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-04 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 14:49 [PATCH] gfs2/ops_file.c: fix build breakage Alexander Beregalov
2009-02-04 14:51 ` Steven Whitehouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox