aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2024-09-17 13:08:03 +0000
committerGao Xiang <[email protected]>2024-10-11 05:36:41 +0000
commit416a8b2c02fe2a5a9fbdf2a35ea294b78d939f84 (patch)
tree138579c557a06651b1bd958322e51cf2324ef954 /rust/helpers/helpers.c
parentLinux 6.12-rc1 (diff)
downloadkernel-416a8b2c02fe2a5a9fbdf2a35ea294b78d939f84.tar.gz
kernel-416a8b2c02fe2a5a9fbdf2a35ea294b78d939f84.zip
erofs: ensure regular inodes for file-backed mounts
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: [email protected] Closes: https://lore.kernel.org/r/[email protected] Tested-by: [email protected] Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions