On 2024/9/17 21:08, Gao Xiang wrote:
Only regular inodes are allowed for file-backed mounts, not directories
(as seen in the original syzbot case) or special inodes.

Also ensure that .read_folio() is implemented on the underlying fs
for the primary device.

Fixes: fb176750266a ("erofs: add file-backed mount support")
Reported-by: syzbot+001306cd9c92ce0df...@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/r/00000000000011bdde0622498...@google.com
Tested-by: syzbot+001306cd9c92ce0df...@syzkaller.appspotmail.com
Signed-off-by: Gao Xiang <hsiang...@linux.alibaba.com>

Reviewed-by: Chao Yu <c...@kernel.org>

Thanks,

Reply via email to