]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:31:55 +0000 (16:31 -0700)
commit70c21a792ee4496dd060d244c95ab4261481c9f7
treec1da6649a1125abc962c4afdaf70e640ed3b4009
parentb11c575d3c7b445ba7a889286e9a28024c811644
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>
(cherry picked from commit 9d99a8dda154f38307d43d9c9aa504bd3703d596)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.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]