On Thu, Nov 16, 2023 at 12:13:43PM -0500, Brian Foster wrote: > Various userspace scripts/tools may expect mount entries in > /proc/mounts to reflect the device path names used to mount the > associated filesystem. bcachefs seems to normalize the device path > to the underlying device name based on the block device. This > confuses tools like fstests when the test devices might be lvm or > device-mapper based. > > The default behavior for show_vfsmnt() appers to be to use the > string passed to alloc_vfsmnt(), so tweak bcachefs to copy the path > at device superblock read time and to display it via > ->show_devname(). > > Signed-off-by: Brian Foster <[email protected]>
Looks good - applied
