summaryrefslogtreecommitdiff
path: root/libbcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2024-04-09 15:01:14 -0500
committerTony Asleson <tasleson@redhat.com>2024-04-09 15:03:26 -0500
commit825062222c966b09c222fbc52966da04062c5af4 (patch)
treecdc63879593ae76c643b47c5669b4c017f6de711 /libbcachefs/btree_trans_commit.c
parent5639fb38cabaa326b8b664d874a46509d4a60bf2 (diff)
mount: canonicalize device path for single device node
If we pass a symlink for a single device node we fail to locate the device node. Canonicalize the device node before we try to read up the superblock. This allows the following to work. # bcachefs mount /dev/mapper/vg-thinvolume /mnt/lv_thin Signed-off-by: Tony Asleson <tasleson@redhat.com>
Diffstat (limited to 'libbcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions