diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-04 15:44:15 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-06 00:21:30 -0500 |
commit | 7aebaabfede75feda5c5d16991da74124aee428d (patch) | |
tree | 03188980d2ae027afc751ef6c34fabdb08260896 /Kconfig | |
parent | f88d811a238b12a261a04f125db952cf05c06d0b (diff) |
bcachefs: Fix creating snapshot with implict source
When creating a snapshot without specifying the source subvolume, we use
the subvolume containing the new snapshot.
Previously, this worked if the directory containing the new snapshot was
the subvolume root - but we were using the incorrect helper, and got a
subvolume ID of 0 when the parent directory wasn't the root of the
subvolume, causing an emergency read-only.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions