]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: factor metadata handling out of __nvme_submit_user_cmd
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Aug 2017 21:46:01 +0000 (17:46 -0400)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Aug 2017 12:59:30 +0000 (14:59 +0200)
commitc9ede9aa214715a69e17b42c3b142a9a9d61b44f
tree6bac6bc6da283847e3beeaf2db4a1d6d378e0ee9
parent8899457b0a878753eadfa72f1da5ffc0a504f66a
nvme: factor metadata handling out of __nvme_submit_user_cmd

Keep the metadata code in a separate helper instead of making the
main function more complicated.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c