summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-08-10 13:58:57 +0800
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:27:55 +0200
commitfc65bb53180cc13ea646c150316b219d4579ebe3 (patch)
tree75479b9230f71c0637d3edad32c7beb6e6ff3d14 /fs/btrfs/extent_io.c
parent527c490f44f6f13df30980203822a913c39c8192 (diff)
btrfs: scrub: remove impossible sanity checks
There are several sanity checks which are no longer possible to trigger inside btrfs_scrub_dev(). Since we have mount time check against super block nodesize/sectorsize, and our fixed macro is hardcoded to handle even the worst combination. Thus those sanity checks are no longer needed, can be easily removed. But this patch still uses some ASSERT()s as a safe net just in case we change some features in the future to trigger those impossible combinations. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions