2022-06-26 09:13:03

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH v2 10/20] Documentation: update watch_queue.rst references

Changeset f5461124d59b ("Documentation: move watch_queue to core-api")
renamed: Documentation/watch_queue.rst
to: Documentation/core-api/watch_queue.rst.

Update the cross-references accordingly.

Fixes: f5461124d59b ("Documentation: move watch_queue to core-api")
Reviewed-by: Randy Dunlap <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---

To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH v2 00/20] at: https://lore.kernel.org/all/[email protected]/

Documentation/security/keys/core.rst | 2 +-
include/linux/watch_queue.h | 2 +-
init/Kconfig | 2 +-
kernel/watch_queue.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst
index b3ed5c581034..811b905b56bf 100644
--- a/Documentation/security/keys/core.rst
+++ b/Documentation/security/keys/core.rst
@@ -1046,7 +1046,7 @@ The keyctl syscall functions are:
"filter" is either NULL to remove a watch or a filter specification to
indicate what events are required from the key.

- See Documentation/watch_queue.rst for more information.
+ See Documentation/core-api/watch_queue.rst for more information.

Note that only one watch may be emplaced for any particular { key,
queue_fd } combination.
diff --git a/include/linux/watch_queue.h b/include/linux/watch_queue.h
index 3b9a40ae8bdb..fc6bba20273b 100644
--- a/include/linux/watch_queue.h
+++ b/include/linux/watch_queue.h
@@ -4,7 +4,7 @@
* Copyright (C) 2020 Red Hat, Inc. All Rights Reserved.
* Written by David Howells ([email protected])
*
- * See Documentation/watch_queue.rst
+ * See Documentation/core-api/watch_queue.rst
*/

#ifndef _LINUX_WATCH_QUEUE_H
diff --git a/init/Kconfig b/init/Kconfig
index ac8088850bdd..4dd1ee7358a3 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -432,7 +432,7 @@ config WATCH_QUEUE
with watches for key/keyring change notifications and device
notifications.

- See Documentation/watch_queue.rst
+ See Documentation/core-api/watch_queue.rst

config CROSS_MEMORY_ATTACH
bool "Enable process_vm_readv/writev syscalls"
diff --git a/kernel/watch_queue.c b/kernel/watch_queue.c
index 230038d4f908..869fea4fe26b 100644
--- a/kernel/watch_queue.c
+++ b/kernel/watch_queue.c
@@ -4,7 +4,7 @@
* Copyright (C) 2020 Red Hat, Inc. All Rights Reserved.
* Written by David Howells ([email protected])
*
- * See Documentation/watch_queue.rst
+ * See Documentation/core-api/watch_queue.rst
*/

#define pr_fmt(fmt) "watchq: " fmt
--
2.36.1


2022-06-26 15:54:35

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH v2 10/20] Documentation: update watch_queue.rst references



On 6/26/22 02:10, Mauro Carvalho Chehab wrote:
> Changeset f5461124d59b ("Documentation: move watch_queue to core-api")
> renamed: Documentation/watch_queue.rst
> to: Documentation/core-api/watch_queue.rst.
>
> Update the cross-references accordingly.
>
> Fixes: f5461124d59b ("Documentation: move watch_queue to core-api")
> Reviewed-by: Randy Dunlap <[email protected]>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>

Reviewed-by: Randy Dunlap <[email protected]>

Thanks.

> ---
>
> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
> See [PATCH v2 00/20] at: https://lore.kernel.org/all/[email protected]/
>
> Documentation/security/keys/core.rst | 2 +-
> include/linux/watch_queue.h | 2 +-
> init/Kconfig | 2 +-
> kernel/watch_queue.c | 2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)


--
~Randy