From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Josef 'Jeff' Sipek" Subject: [PATCH 3/3] [PATCH] fix unionfs compilation Date: Sat, 5 May 2007 16:18:25 -0400 Message-ID: <1178396305843-git-send-email-jsipek@cs.sunysb.edu> References: <11783963052286-git-send-email-jsipek@cs.sunysb.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Adrian Bunk , "Josef 'Jeff' Sipek" To: akpm@linux-foundation.org Return-path: Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:48977 "EHLO filer.fsl.cs.sunysb.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933320AbXEEUVp (ORCPT ); Sat, 5 May 2007 16:21:45 -0400 In-Reply-To: <11783963052286-git-send-email-jsipek@cs.sunysb.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org =46rom: Adrian Bunk On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: >... > Changes since 2.6.21-rc7-mm2: >... > git-unionfs.patch >... > git trees >... <-- snip --> =2E.. CC fs/unionfs/super.o /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c: In fun= ction =E2=80=98init_once=E2=80=99: /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c:822: er= ror: =E2=80=98SLAB_CTOR_VERIFY=E2=80=99 undeclared (first use in this f= unction) /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c:822: er= ror: (Each undeclared identifier is reported only once /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c:822: er= ror: for each function it appears in.) make[3]: *** [fs/unionfs/super.o] Error 1 <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Josef 'Jeff' Sipek --- fs/unionfs/super.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index 02c0cc8..af5a1c5 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -821,8 +821,7 @@ static void init_once(void *v, struct kmem_cache * = cachep, unsigned long flags) { struct unionfs_inode_info *i =3D v; =20 - if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) =3D=3D - SLAB_CTOR_CONSTRUCTOR) + if (flags & SLAB_CTOR_CONSTRUCTOR) inode_init_once(&i->vfs_inode); } =20 --=20 1.5.0.3.1043.g4342 - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html