From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Wed, 04 Feb 2009 14:51:19 +0000 Subject: [Cluster-devel] Re: [PATCH] gfs2/ops_file.c: fix build breakage In-Reply-To: <20090204144920.GA13319@orion> References: <20090204144920.GA13319@orion> Message-ID: <1233759079.9571.689.camel@quoit> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 > --- > > 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. >