From: Stephen Rothwell Subject: Re: [PATCH 2/7] fallocate() implementation in i386, x86_64 and powerpc Date: Wed, 11 Jul 2007 12:10:34 +1000 Message-ID: <20070711121034.a3b925b9.sfr@canb.auug.org.au> References: <20070710201200.GA10255@amitarora.in.ibm.com> <20070710202000.GB8797@amitarora.in.ibm.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__11_Jul_2007_12_10_34_+1000_5U2tHjshZm6024bl" Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, xfs@oss.sgi.com To: "Amit K. Arora" Return-path: In-Reply-To: <20070710202000.GB8797@amitarora.in.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org --Signature=_Wed__11_Jul_2007_12_10_34_+1000_5U2tHjshZm6024bl Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 11 Jul 2007 01:50:00 +0530 "Amit K. Arora" wrote: > > --- linux-2.6.22.orig/arch/x86_64/ia32/sys_ia32.c > +++ linux-2.6.22/arch/x86_64/ia32/sys_ia32.c > @@ -879,3 +879,11 @@ asmlinkage long sys32_fadvise64(int fd,=20 > return sys_fadvise64_64(fd, ((u64)offset_hi << 32) | offset_lo, > len, advice); > } > + > +asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_lo, > + unsigned offset_hi, unsigned len_lo, > + unsigned len_hi) Please call this compat_sys_fallocate in line with the powerpc version - it gives us a hint that maybe we should think about how to consolidate them. I know other stuff in that file is called sys32_ ... but it is time for a change :-) --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Wed__11_Jul_2007_12_10_34_+1000_5U2tHjshZm6024bl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGlDweTgG2atn1QN8RAsMWAJ0QGe/B34/KjrV593lYeDo/VsOYdQCfdMkc mHS8nJDyRZd1RWYTVZ+6888= =C6vS -----END PGP SIGNATURE----- --Signature=_Wed__11_Jul_2007_12_10_34_+1000_5U2tHjshZm6024bl--