summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-05-31 07:17:34 +0300
committerDavid Sterba <dsterba@suse.com>2023-06-19 14:59:33 +0300
commit3965a4c793d3b031119ff455c4773441584aee30 (patch)
tree1bc1dfd3b67ec363ed96eda23bee35426b24148f /fs/btrfs/dev-replace.c
parentefcfcbc6a36195c42d98e0ee697baba36da94dc8 (diff)
downloadlinux-3965a4c793d3b031119ff455c4773441584aee30.tar.xz
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 <wqu@suse.com> 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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions