diff options
| author | Zhihao Cheng <[email protected]> | 2024-08-09 03:11:55 +0000 |
|---|---|---|
| committer | Ira Weiny <[email protected]> | 2024-08-09 19:29:58 +0000 |
| commit | d5240fa65db071909e9d1d5adcc5fd1abc8e96fe (patch) | |
| tree | d0364897fbbc78017d014ef570f11551c9fe95a2 /drivers/usb/cdns3/cdns3-trace.c | |
| parent | Merge tag 'bitmap-6.11-rc' of https://github.com/norov/linux (diff) | |
| download | kernel-d5240fa65db071909e9d1d5adcc5fd1abc8e96fe.tar.gz kernel-d5240fa65db071909e9d1d5adcc5fd1abc8e96fe.zip | |
nvdimm/pmem: Set dax flag for all 'PFN_MAP' cases
The dax is only supported on pfn type pmem devices since commit
f467fee48da4 ("block: move the dax flag to queue_limits"). Trying
to mount DAX filesystem fails with this error:
mount: : wrong fs type, bad option, bad superblock on /dev/pmem7,
missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
dmesg: EXT4-fs (pmem7): DAX unsupported by block device.
Fix the problem by adding dax flag setting for the missed case.
Fixes: f467fee48da4 ("block: move the dax flag to queue_limits")
Signed-off-by: Zhihao Cheng <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Tested-by: Ira Weiny <[email protected]>
Tested-by: Alison Schofield <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Ira Weiny <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
