]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: move hardware structures out of the uapi version of nvme.h
authorChristoph Hellwig <hch@lst.de>
Fri, 2 Oct 2015 13:25:49 +0000 (15:25 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Oct 2015 16:40:37 +0000 (10:40 -0600)
commit65a43f9288fe844864256072a73b2f4fcfc33e2f
treea46c7d299552272d3f6d054e7495c2a5e584977c
parentab8082a188dfc16d4ee9533a47b361b7004a6b63
nvme: move hardware structures out of the uapi version of nvme.h

Currently all NVMe command and completion structures are exposed to userspace
through the uapi version of nvme.h.  They are not an ABI between the kernel
and userspace, and will change in C-incompatible way for future versions of
the spec.  Move them to the kernel version of the file and rename the uapi
header to nvme_ioctl.h so that userspace can easily detect the presence of
the new clean header.  Nvme-cli already carries a local copy of the header,
so it won't be affected by this move.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c
include/linux/nvme.h
include/uapi/linux/nvme.h [deleted file]
include/uapi/linux/nvme_ioctl.h [new file with mode: 0644]