]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: add SEEK_HOLE/SEEK_DATA support
authorZheng Liu <wenqing.lz@taobao.com>
Wed, 19 Sep 2012 19:24:40 +0000 (15:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 19 Sep 2012 19:24:40 +0000 (15:24 -0400)
commit1d96cd6eb26d706a0d6d8bed92b65a9683430033
tree3151dde45d2186ed678c9a1222db281a83d2cf5f
parent3a2bcbdfe1245cd21fbdbf7168614acf2a24f995
ext4: add SEEK_HOLE/SEEK_DATA support

This patch makes ext4 really support SEEK_DATA/SEEK_HOLE flags.  Extent-based
and block-based files are implemented together because ext4_map_blocks hides
this difference.

CC: Hugh Dickins <hughd@google.com>
CC: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/file.c
fs/ext4/indirect.c