nvme-fabrics: Allow 0 as KATO value
authorGuilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Thu, 14 Sep 2017 16:59:28 +0000 (13:59 -0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 14:56:05 +0000 (08:56 -0600)
commit8edd11c9ad3a6205eea6de9d02eaf64c681a0658
tree9e1789d0ebb9066866a895f1d45bd59c2838f18e
parent0951338d9677f546e230685d68631dfd3f81cca5
nvme-fabrics: Allow 0 as KATO value

Currently, driver code allows user to set 0 as KATO
(Keep Alive TimeOut), but this is not being respected.
This patch enforces the expected behavior.

Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fabrics.c