On Wed, 30 May 2018 18:45:53 +0200
Christoph Hellwig [off-list ref] wrote:
Remove the common code to allocate a buffer and copy it into the SGL.
Instead the two no-op implementations just zero the SGL directly, and
the smart log allocates a buffer on its own. This prepares for the
more elaborate ANA log page.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <redacted>
---
drivers/nvme/target/admin-cmd.c | 99
++++++++++++--------------------- 1 file changed, 36 insertions(+),
63 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cheers,
Hannes