summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorJingbo Xu <jefflexu@linux.alibaba.com>2026-08-20 21:40:06 +0800
committerGao Xiang <xiang@kernel.org>2026-08-24 12:20:27 +0800
commit8ebf9589788575f8868c236d077dbe612395e084 (patch)
tree581f6a971dd91928ce0846fcc8e4bda1fbc4e70b /include/linux/timerqueue_types.h
parentab74edaeb1ae7c7194e79007e6afdfe788111a3f (diff)
erofs: support SEEK_HOLE/SEEK_DATA in inode_share mode
When inode_share is enabled, erofs_ishare_fops.llseek falls back to generic_file_llseek, which treats the whole file as data and always returns i_size for SEEK_HOLE, hiding real holes in sparse files. Switch it to erofs_file_llseek instead. For user files f_mapping->host is always the real erofs inode, so SEEK_HOLE/SEEK_DATA resolve the per-file on-disk layout via iomap_seek_hole()/iomap_seek_data(). Reviewed-by: Gao Xiang <xiang@kernel.org> Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <xiang@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions