]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common/rc: _fs_sysfs_dname fetch fsid using btrfs tool
authorAnand Jain <anand.jain@oracle.com>
Thu, 2 Nov 2023 11:28:18 +0000 (19:28 +0800)
committerZorro Lang <zlang@kernel.org>
Thu, 16 Nov 2023 02:42:39 +0000 (10:42 +0800)
commit22bca8d9a6d9fba0ac240ed95a42f44110e31910
treea0203b0d1f36d4f48c58883425f9f51ef8fd04e2
parent88334112f9cb7ec5733f5e41017a4c07b3d37636
common/rc: _fs_sysfs_dname fetch fsid using btrfs tool

Currently _fs_sysfs_dname gets fsid from the findmnt command however
this command provides the metadata_uuid if the device is mounted with
temp-fsid. So instead, use btrfs filesystem show command to know the fsid.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc