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)
commit9d99a8dda154f38307d43d9c9aa504bd3703d596
treea46c7d299552272d3f6d054e7495c2a5e584977c
parentf11bb3e244c4b14e2d0a3b9d7e41895752997170
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]