xfs
[Top] [All Lists]

Re: [PATCH 2/7] fallocate() implementation in i386, x86_64 and powerpc

To: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Subject: Re: [PATCH 2/7] fallocate() implementation in i386, x86_64 and powerpc
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Date: Wed, 11 Jul 2007 06:59:58 +0200
Cc: "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <20070711121034.a3b925b9.sfr@xxxxxxxxxxxxxxxx>
References: <20070710201200.GA10255@xxxxxxxxxxxxxxxxxxxx> <20070710202000.GB8797@xxxxxxxxxxxxxxxxxxxx> <20070711121034.a3b925b9.sfr@xxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (Linux)
On Wed, Jul 11, 2007 at 12:10:34PM +1000, Stephen Rothwell wrote:
> On Wed, 11 Jul 2007 01:50:00 +0530 "Amit K. Arora" 
> <aarora@xxxxxxxxxxxxxxxxxx> 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, 
> >     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 :-)

Maybe it would be worth to finally consider this:

http://marc.info/?l=linux-kernel&m=118411511620432&w=2

?


<Prev in Thread] Current Thread [Next in Thread>