ext4: use core vfs llseek code for dir seeks
authorEric Sandeen <sandeen@redhat.com>
Mon, 30 Apr 2012 18:14:03 +0000 (13:14 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 20:00:28 +0000 (00:00 +0400)
commitec7268ce21b379a248705548573393e4f346b20b
treeb1723de44f1d4e29082659157da1b676b51b5a3b
parente8b96eb5034a0ccebf36760f88e31ea3e3cdf1e4
ext4: use core vfs llseek code for dir seeks

Use the new functionality in generic_file_llseek_size() to
accept a custom EOF position, and un-cut-and-paste all the
vfs llseek code from ext4.

Also fix up comments on ext4_llseek() to reflect reality.

Signed-off-by: Eric Sandeen <sandeen@redaht.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/dir.c
fs/ext4/file.c