btrfs: remove a pointless NULL check in btrfs_lookup_fs_root
authorChristoph Hellwig <hch@lst.de>
Tue, 23 May 2023 08:40:20 +0000 (10:40 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:29 +0000 (13:59 +0200)
commit25ac047c9d3df373de35ba4ee3f0c902874a1fab
treebcc647a2f0154e4a913db436d690edbcfa8a0870
parente91909aace336a182da20bcbe507995ac24f74bb
btrfs: remove a pointless NULL check in btrfs_lookup_fs_root

btrfs_grab_root already checks for a NULL root itself.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c