]> Gentwo Git Trees - linux/.git/commit
erofs: correct FSDAX detection
authorGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 17 Nov 2025 11:57:29 +0000 (19:57 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 24 Nov 2025 06:16:30 +0000 (14:16 +0800)
commitebe4f3f6eb0c10f87c58e52a8912694c14fdeda6
treee507f357a7d9d5c967a749bb9b1f0058b53f3dcc
parent6a23ae0a96a600d1d12557add110e0bb6e32730c
erofs: correct FSDAX detection

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-and-tested-by: syzbot+31b8fb02cb8a25bd5e78@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/r/691af9f6.a70a0220.3124cb.0097.GAE@google.com
Cc: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/super.c