Commit a78db32
btrfs: print correct subvol num if active swapfile prevents deletion
[ Upstream commit 1c7e911 ]
Fix the error message in btrfs_delete_subvolume() if we can't delete a
subvolume because it has an active swapfile: we were printing the number
of the parent rather than the target.
Fixes: 60021bd ("btrfs: prevent subvol with swapfile from being deleted")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 390cc89 commit a78db32
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4629 | 4629 | | |
4630 | 4630 | | |
4631 | 4631 | | |
4632 | | - | |
| 4632 | + | |
4633 | 4633 | | |
4634 | 4634 | | |
4635 | 4635 | | |
| |||
0 commit comments