nvmet: update smart log with num err log entries
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Wed, 12 Dec 2018 23:11:48 +0000 (15:11 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 08:59:07 +0000 (09:59 +0100)
commit23454d59cc16ddddf4b2290bbe60d2d9581dfd9a
tree4e5b6ebc7debb617e747163b95faeeab9f835923
parent11ad507784ed5113af97903af1b0c4aea6b90690
nvmet: update smart log with num err log entries

Now that we have error log page implementation update smart log command
handler to provide number of error log entries in the lifetime of the
controller field.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/admin-cmd.c