summaryrefslogtreecommitdiff
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-07-18 17:21:36 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-21 00:47:56 (GMT)
commitb26751575a9aa55fd6dbf3febde3ff06dfadc44f (patch)
tree78fc36a92757eafb90bbeae36495adb369fbf6d7 /fs/ext4/file.c
parent982d816581eeeacfe5b2b7c6d47d13a157616eff (diff)
downloadlinux-b26751575a9aa55fd6dbf3febde3ff06dfadc44f.tar.xz
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/file.c')
0 files changed, 0 insertions, 0 deletions