summaryrefslogtreecommitdiff
path: root/fs/btrfs/space-info.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-03-21 14:13:39 +0300
committerDavid Sterba <dsterba@suse.com>2023-04-17 19:01:18 +0300
commitb93fa4acbb57470d48de381ec4aef3f481b32d67 (patch)
tree2be9deae005f44de5a143c19f7ce9d41675019e8 /fs/btrfs/space-info.h
parent5c1f2c6bca8b51b38f6263ece354e9c74c2627d3 (diff)
downloadlinux-b93fa4acbb57470d48de381ec4aef3f481b32d67.tar.xz
btrfs: remove check for NULL block reserve at btrfs_block_rsv_check()
The block reserve passed to btrfs_block_rsv_check() is never NULL, so remove the check. In case it can ever become NULL in the future, then we'll get a pretty obvious and clear NULL pointer dereference crash and stack trace. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.h')
0 files changed, 0 insertions, 0 deletions