]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Initialize c->name earlier on single dev filesystems
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 3 Apr 2025 17:10:03 +0000 (13:10 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:15 +0000 (20:14 -0400)
commit58c36e6710d3b3cc050c35c42954cb03c3e01c59
tree83b6eda66edee2a0017c7d23789a31e9229e6227
parent0e43bf5a6a8f440f887b0472367a824c37a4031b
bcachefs: Initialize c->name earlier on single dev filesystems

On single device filesystems, c->name contains the block device name,
not the UUID.

Initialize this earlier, so that single device mode can use it for
initializing sysfs/debugfs.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c