summary refs log tree commit diff
path: root/fs/ext4
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-07-18 13:21:36 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 20:47:56 -0400
commitb26751575a9aa55fd6dbf3febde3ff06dfadc44f (patch)
tree78fc36a92757eafb90bbeae36495adb369fbf6d7 /fs/ext4
parent982d816581eeeacfe5b2b7c6d47d13a157616eff (diff)
downloadlinux-b26751575a9aa55fd6dbf3febde3ff06dfadc44f.tar.gz
Btrfs: implement our own ->llseek
In order to handle SEEK_HOLE/SEEK_DATA we need to implement our own llseek.
Basically for the normal SEEK_*'s we will just defer to the generic helper, and
for SEEK_HOLE/SEEK_DATA we will use our fiemap helper to figure out the nearest
hole or data.  Currently this helper doesn't check for delalloc bytes for
prealloc space, so for now treat prealloc as data until that is fixed.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions