[PATCH] erofs: fix incorrect symlink detection in fast symlink
Gao Xiang
hsiangkao at linux.alibaba.com
Mon Sep 9 12:37:36 AEST 2024
On 2024/9/9 10:28, Gao Xiang wrote:
> Fast symlink can be used if the on-disk symlink data is stored
> in the same block as the on-disk inode, so we don’t need to trigger
> another I/O for symlink data. However, correctly fs correction could be
> reported _incorrectly_ if inode xattrs are too large.
>
> In fact, these should be valid images although they cannot be handled as
> fast symlinks.
>
> Many thanks to Colin for reporting this!
>
> Reported-by: Colin Walters <walters at verbum.org>
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Fixes: 431339ba9042 ("staging: erofs: add inode operations")
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list