aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-05-31 04:17:34 +0000
committerDavid Sterba <[email protected]>2023-06-19 11:59:33 +0000
commit3965a4c793d3b031119ff455c4773441584aee30 (patch)
tree1bc1dfd3b67ec363ed96eda23bee35426b24148f /fs/btrfs/dev-replace.c
parentbtrfs: add xxhash to fast checksum implementations (diff)
downloadkernel-3965a4c793d3b031119ff455c4773441584aee30.tar.gz
kernel-3965a4c793d3b031119ff455c4773441584aee30.zip
btrfs: remove unused BTRFS_MAP_DISCARD
BTRFS_MAP_DISCARD is never set, as REQ_OP_DISCARD is never passed to btrfs_op() only only checked in two ASSERTS. Remove it and let the catchall WARN_ON in btrfs_op() deal with accidental REQ_OP_DISCARDs leaked into btrfs_op(). Last use was in a4012f06f188 ("btrfs: split discard handling out of btrfs_map_block"). Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions