linux/fs/ext4
Jie Liu 46a1c2c7ae vfs: export lseek_execute() to modules
For those file systems(btrfs/ext4/ocfs2/tmpfs) that support
SEEK_DATA/SEEK_HOLE functions, we end up handling the similar
matter in lseek_execute() to update the current file offset
to the desired offset if it is valid, ceph also does the
simliar things at ceph_llseek().

To reduce the duplications, this patch make lseek_execute()
public accessible so that we can call it directly from the
underlying file systems.

Thanks Dave Chinner for this suggestion.

[AV: call it vfs_setpos(), don't bring the removed 'inode' argument back]

v2->v1:
- Add kernel-doc comments for lseek_execute()
- Call lseek_execute() in ceph->llseek()

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Cc: Dave Chinner <dchinner@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: Josef Bacik <jbacik@fusionio.com>
Cc: Ben Myers <bpm@sgi.com>
Cc: Ted Tso <tytso@mit.edu>
Cc: Hugh Dickins <hughd@google.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Sage Weil <sage@inktank.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-07-03 16:23:27 +04:00
..
acl.c
acl.h
balloc.c ext4: mark all metadata I/O with REQ_META 2013-04-20 15:46:17 -04:00
bitmap.c
block_validity.c
dir.c [readdir] convert ext4 2013-06-29 12:56:40 +04:00
ext4_extents.h
ext4_jbd2.c ext4: mark metadata blocks using bh flags 2013-04-21 16:45:54 -04:00
ext4_jbd2.h
ext4.h [readdir] convert ext4 2013-06-29 12:56:40 +04:00
extents_status.c ext4: fix fio regression 2013-05-03 02:15:52 -04:00
extents_status.h ext4: fix fio regression 2013-05-03 02:15:52 -04:00
extents.c ext4: fix fio regression 2013-05-03 02:15:52 -04:00
file.c vfs: export lseek_execute() to modules 2013-07-03 16:23:27 +04:00
fsync.c
hash.c
ialloc.c ext4: mark all metadata I/O with REQ_META 2013-04-20 15:46:17 -04:00
indirect.c aio: don't include aio.h in sched.h 2013-05-07 20:16:25 -07:00
inline.c [readdir] convert ext4 2013-06-29 12:56:40 +04:00
inode.c Fixed regressions (two stability regressions and a performance 2013-05-14 09:30:54 -07:00
ioctl.c
Kconfig ext4: fix Kconfig documentation for CONFIG_EXT4_DEBUG 2013-04-21 20:32:03 -04:00
Makefile
mballoc.c Fixed regressions (two stability regressions and a performance 2013-05-14 09:30:54 -07:00
mballoc.h
migrate.c
mmp.c ext4: mark all metadata I/O with REQ_META 2013-04-20 15:46:17 -04:00
move_extent.c
namei.c
page-io.c Fixed regressions (two stability regressions and a performance 2013-05-14 09:30:54 -07:00
resize.c ext4: add check for inodes_count overflow in new resize ioctl 2013-04-21 22:56:32 -04:00
super.c make blkdev_put() return void 2013-05-07 02:16:31 -04:00
symlink.c
truncate.h
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h