diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-28 13:59:06 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-10-07 07:56:19 +0200 |
commit | 0a05226a3a2038b28d78101239196222d375124a (patch) | |
tree | fb17fb19372991c1f4ab38cece7814c312950eac /drivers/usb/cdns3/cdns3-trace.c | |
parent | b2dc748a70c65a1b4eb1b9fceab57662cfd83e41 (diff) |
nvme: refactor nvme_validate_ns
Move the logic to revalidate the block_device size or remove the
namespace from the caller into nvme_validate_ns. This removes
the return value and thus the status code translation. Additionally
it also catches non-permanent errors from nvme_update_ns_info using
the existing logic.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions