bcachefs: Update /dev/disk/by-uuid on device add
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 7 Jun 2025 16:01:22 +0000 (12:01 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 12 Jun 2025 03:21:30 +0000 (23:21 -0400)
commitaf5b88618a38371545251ad92ce42bc4bfa1142a
treecab03f293c6c24662e8550b9bf4b185a90615ba4
parentb76cce12700b8bb8d59b9ff444504b94db96dd4b
bcachefs: Update /dev/disk/by-uuid on device add

Invalidate pagecache after we write the new superblock and send a
uevent.

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