[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110916155042.GB27150@infradead.org>
Date: Fri, 16 Sep 2011 11:50:43 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Andi Kleen <andi@...stfloor.org>
Cc: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 4/7] VFS: Add generic_file_llseek_size
On Thu, Sep 15, 2011 at 04:06:50PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> Add a generic_file_llseek variant to the VFS that allows passing in
> the maximum file size of the file system, instead of always
> using maxbytes from the superblock.
>
> This can be used to eliminate some cut'n'paste seek code in ext4.
I'd reorder this to the front of the series. Also I think this
helper could be used to implement default_llseek.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists