nvme: fix extended data LBA supported setting
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 27 May 2018 15:50:10 +0000 (18:50 +0300)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 May 2018 18:29:16 +0000 (20:29 +0200)
commitc97f414c54a255f4f05a50a2625efaeee406e134
treef9a69cb11a0ae47fd8afa16e9e793bf9b54b45fd
parenteedffa28c9b00ca2dcb4d541b5a530f4c917052d
nvme: fix extended data LBA supported setting

This value depands on the metadata support value, so reorder the
initialization to fit.

Fixes: b5be3b392 ("nvme: always unregister the integrity profile in __nvme_revalidate_disk")
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
drivers/nvme/host/core.c