commit | 5760495a872d63a182962680a13c2af29235237c | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@linux.intel.com> | Thu Sep 15 16:06:50 2011 -0700 |
committer | root <root@serles.lst.de> | Fri Oct 28 14:58:59 2011 +0200 |
tree | ab7ac2b0ec66006efbc27c318c89474a63d6e4d1 | |
parent | ef3d0fd27e90f67e35da516dafc1482c82939a60 [diff] |
vfs: add generic_file_llseek_size 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. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>