mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
btrfs: handle invalid root reference found in may_destroy_subvol()
The may_destroy_subvol() looks up a root by a key, allowing to do an inexact search when key->offset is -1. It's never expected to find such item, as it would break the allowed range of a root id. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f626a0f5b8
commit
6fbc6f4ac1
1 changed files with 8 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue