diff options
authorRandy Dunlap <>2020-07-30 18:42:29 -0700
committerJens Axboe <>2020-07-31 16:29:47 -0600
commit5b8f65e1f9664171a4f4c07f8cdc212650f00e77 (patch)
parent3cf148891799d46542d8880c678e931c7ac5b32e (diff)
block: elevator: delete duplicated word and fix typos
Drop the repeated word "the". Fix typos of "features" and "specified". Signed-off-by: Randy Dunlap <> Cc: Jens Axboe <> Cc: Signed-off-by: Jens Axboe <>
1 files changed, 2 insertions, 2 deletions
diff --git a/block/elevator.c b/block/elevator.c
index 4eab3d70e880..90ed7a28c21d 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -95,8 +95,8 @@ static inline bool elv_support_features(unsigned int elv_features,
* @name: Elevator name to test
* @required_features: Features that the elevator must provide
- * Return true is the elevator @e name matches @name and if @e provides all the
- * the feratures spcified by @required_features.
+ * Return true if the elevator @e name matches @name and if @e provides all
+ * the features specified by @required_features.
static bool elevator_match(const struct elevator_type *e, const char *name,
unsigned int required_features)