[PATCH 2/2] docs: Move the user-space ioctl() docs to userspace-api

From: Jonathan Corbet
Date: Thu Oct 03 2019 - 15:09:37 EST


This is strictly user-space material at this point, so put it with the
other user-space API documentation.

Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>
---
Documentation/index.rst | 1 -
Documentation/userspace-api/index.rst | 1 +
Documentation/{ => userspace-api}/ioctl/cdrom.rst | 0
Documentation/{ => userspace-api}/ioctl/hdio.rst | 0
Documentation/{ => userspace-api}/ioctl/index.rst | 0
Documentation/{ => userspace-api}/ioctl/ioctl-decoding.rst | 0
Documentation/{ => userspace-api}/ioctl/ioctl-number.rst | 0
7 files changed, 1 insertion(+), 1 deletion(-)
rename Documentation/{ => userspace-api}/ioctl/cdrom.rst (100%)
rename Documentation/{ => userspace-api}/ioctl/hdio.rst (100%)
rename Documentation/{ => userspace-api}/ioctl/index.rst (100%)
rename Documentation/{ => userspace-api}/ioctl/ioctl-decoding.rst (100%)
rename Documentation/{ => userspace-api}/ioctl/ioctl-number.rst (100%)

diff --git a/Documentation/index.rst b/Documentation/index.rst
index b843e313d2f2..dbf0951a0abe 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -57,7 +57,6 @@ the kernel interface as seen by application developers.
:maxdepth: 2

userspace-api/index
- ioctl/index


Introduction to kernel development
diff --git a/Documentation/userspace-api/index.rst b/Documentation/userspace-api/index.rst
index ad494da40009..e983488b48b1 100644
--- a/Documentation/userspace-api/index.rst
+++ b/Documentation/userspace-api/index.rst
@@ -21,6 +21,7 @@ place where this information is gathered.
unshare
spec_ctrl
accelerators/ocxl
+ ioctl/index

.. only:: subproject and html

diff --git a/Documentation/ioctl/cdrom.rst b/Documentation/userspace-api/ioctl/cdrom.rst
similarity index 100%
rename from Documentation/ioctl/cdrom.rst
rename to Documentation/userspace-api/ioctl/cdrom.rst
diff --git a/Documentation/ioctl/hdio.rst b/Documentation/userspace-api/ioctl/hdio.rst
similarity index 100%
rename from Documentation/ioctl/hdio.rst
rename to Documentation/userspace-api/ioctl/hdio.rst
diff --git a/Documentation/ioctl/index.rst b/Documentation/userspace-api/ioctl/index.rst
similarity index 100%
rename from Documentation/ioctl/index.rst
rename to Documentation/userspace-api/ioctl/index.rst
diff --git a/Documentation/ioctl/ioctl-decoding.rst b/Documentation/userspace-api/ioctl/ioctl-decoding.rst
similarity index 100%
rename from Documentation/ioctl/ioctl-decoding.rst
rename to Documentation/userspace-api/ioctl/ioctl-decoding.rst
diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst
similarity index 100%
rename from Documentation/ioctl/ioctl-number.rst
rename to Documentation/userspace-api/ioctl/ioctl-number.rst
--
2.21.0