lkml.org 
[lkml]   [2011]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@linux.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.



\
 
 \ /
  Last update: 2011-09-16 17:53    [W:0.111 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site