]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: change ppl to lpp
authorJohn Pittman <jpittman@redhat.com>
Tue, 17 Sep 2019 18:52:00 +0000 (14:52 -0400)
committerSagi Grimberg <sagi@grimberg.me>
Mon, 23 Sep 2019 20:59:49 +0000 (13:59 -0700)
commit8158b1d893f3d65f026adac2fb50bbde13c8e317
treec3a49ea818c090e18a5ff8b6d75b8983d6988d68
parent9ea62c4a94fe07400f5e576da56f7c6e6f226f61
nvmet: change ppl to lpp

In nvmet_bdev_set_limits() the number of logical blocks per
physical block is calculated, but the opposite is mentioned in
the associated comment and reflected in the variable name. Correct
the comment and adjust the variable name to reflect the calculation
done.

Signed-off-by: John Pittman <jpittman@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/target/io-cmd-bdev.c