]> git.ipfire.org Git - thirdparty/linux.git/commit
erofs: handle end of filesystem properly for file-backed mounts
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 30 Jan 2026 07:54:22 +0000 (15:54 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 3 Feb 2026 03:05:57 +0000 (11:05 +0800)
commitbc804a8d7e865ef47fb7edcaf5e77d18bf444ebc
tree5a57386fabaa7b47d7b65115326cd4b8b61440d6
parent7cef3c8341940febf75db6c25199cd83fb74d52f
erofs: handle end of filesystem properly for file-backed mounts

I/O requests beyond the end of the filesystem should be zeroed out,
similar to loopback devices and that is what we expect.

Fixes: ce63cb62d794 ("erofs: support unencoded inodes for fileio")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/fileio.c