]> 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)
commit9bf666e4f610f8ecc93d067fcf09fc29ac9de31c
treec3a49ea818c090e18a5ff8b6d75b8983d6988d68
parentf5bf56825f5ed3fe5bf9c9f785b1614f4d340f6a
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