diff options
| author | Qu Wenruo <[email protected]> | 2024-09-16 08:25:42 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-11-11 13:34:12 +0000 |
| commit | c186345a6b4b8ff082e5ef9515b782704dbba6be (patch) | |
| tree | 6c3321485a00dd90515665cc2b392339988741d0 /fs/btrfs/compression.c | |
| parent | btrfs: don't take dev_replace rwsem on task already holding it (diff) | |
| download | kernel-c186345a6b4b8ff082e5ef9515b782704dbba6be.tar.gz kernel-c186345a6b4b8ff082e5ef9515b782704dbba6be.zip | |
btrfs: make assert_rbio() to only check CONFIG_BTRFS_ASSERT
According to the description, CONFIG_BTRFS_DEBUG is only for extra
debug info, meanwhile sanity checks should be managed by
CONFIG_BTRFS_ASSERT.
There is no need to check both to enable assert_rbio().
Just remove the check for CONFIG_BTRFS_DEBUG.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
