bcachefs: Delete dentry when deleting snapshots
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 21 Oct 2021 00:50:07 +0000 (20:50 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:14 +0000 (17:09 -0400)
commit521b80676927df6b4ad4fc87b7756aad43b96d12
tree69ad74a5467511428f1d1c1fa18d7e1cafaea279
parent6e0c886d3ccd81d87054269b96de6e4eb6ba0edd
bcachefs: Delete dentry when deleting snapshots

This fixes a bug where subsequently doing creates with the same name
fails.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/fs-ioctl.c