Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765406AbXF1SPt (ORCPT ); Thu, 28 Jun 2007 14:15:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762154AbXF1SPn (ORCPT ); Thu, 28 Jun 2007 14:15:43 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:60485 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761763AbXF1SPm (ORCPT ); Thu, 28 Jun 2007 14:15:42 -0400 Date: Thu, 28 Jun 2007 11:15:30 -0700 From: Andrew Morton To: mmarek@suse.cz Cc: xfs@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: [patch 3/3] Fix XFS_IOC_FSBULKSTAT{,_SINGLE} and XFS_IOC_FSINUMBERS in compat mode Message-Id: <20070628111530.829e7a06.akpm@linux-foundation.org> In-Reply-To: <20070619132726.893544847@suse.cz> References: <20070619132549.266927601@suse.cz> <20070619132726.893544847@suse.cz> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1573 Lines: 31 On Tue, 19 Jun 2007 15:25:52 +0200 mmarek@suse.cz wrote: > * 32bit struct xfs_fsop_bulkreq has different size and layout of > members, no matter the alignment. Move the code out of the #else > branch (why was it there in the first place?). Define _32 variants of > the ioctl constants. > * 32bit struct xfs_bstat is different because of time_t and on > i386 becaus of different padding. Create a new formatter > xfs_bulkstat_one_compat() that takes care of this. To do this, we need > to make xfs_bulkstat_one_iget() and xfs_bulkstat_one_dinode() > non-static. > * i386 struct xfs_inogrp has different padding. Introduce a similar > "formatter" mechanism for xfs_inumbers: the native formatter is just a > copy_to_user, the compat formatter takes care of the different layout test.kernel.org build failed: CC fs/xfs/linux-2.6/xfs_ioctl32.o fs/xfs/linux-2.6/xfs_ioctl32.c: In function ‘xfs_ioc_bulkstat_compat’: fs/xfs/linux-2.6/xfs_ioctl32.c:334: error: ‘xfs_inumbers_fmt_compat’ undeclared (first use in this function) fs/xfs/linux-2.6/xfs_ioctl32.c:334: error: (Each undeclared identifier is reported only once fs/xfs/linux-2.6/xfs_ioctl32.c:334: error: for each function it appears in.) http://test.kernel.org/abat/96972/debug/test.log.0 http://test.kernel.org/abat/96972/build/dotconfig - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/