Re: [PATCH] erofs: correct FSDAX detection

From: Chao Yu

Date: Sun Nov 23 2025 - 19:44:16 EST


On 11/17/2025 7:57 PM, Gao Xiang wrote:
The detection of the primary device is skipped incorrectly
if the multiple or flattened feature is enabled.

It also fixes the FSDAX misdetection for non-block extra blobs.

Fixes: c6993c4cb918 ("erofs: Fallback to normal access if DAX is not supported on extra device")
Reported-by: syzbot+31b8fb02cb8a25bd5e78@xxxxxxxxxxxxxxxxxxxxxxxxx
Closes: https://lore.kernel.org/r/691af9f6.a70a0220.3124cb.0097.GAE@xxxxxxxxxx
Cc: Yuezhang Mo <Yuezhang.Mo@xxxxxxxx>
Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,