commit | ffb86425ee2cadbe573c483b789aab2dd57aeb7b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sun Oct 30 11:07:13 2022 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Nov 01 09:12:05 2022 -0600 |
tree | 6b1f35355fef7da011d7f4b01f1f67221bbe7ace | |
parent | 2eef17a209ab4d77923222045d462d379d6ef692 [diff] |
block: don't check for required features in elevator_match Checking for the required features in the callers simplifies the code quite a bit, so do that. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20221030100714.876891-7-hch@lst.de [axboe: adjust for dropping patch 1, use __elevator_find()] Signed-off-by: Jens Axboe <axboe@kernel.dk>