OSDN Git Service

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)
commit0ec64895b05269c1814ea5befcadcd1184a12915
treec3a49ea818c090e18a5ff8b6d75b8983d6988d68
parentd46fe2cb2dce7f5038473b5859e03f5e16b7428e
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