2021-02-24 14:44:01

by Antonio Terceiro

[permalink] [raw]
Subject: [PATCH] Documentation: cgroup-v2: fix path to example BPF program

This file has been moved into the "progs" subdirectory in
bd4aed0ee73ca873bef3cb3ec746dd796f03df28, together with all test BPF
programs.

Signed-off-by: Antonio Terceiro <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Jiong Wang <[email protected]>
---
Documentation/admin-guide/cgroup-v2.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index c513eafaddea..befe9425d028 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -2094,7 +2094,7 @@ If the program returns 0, the attempt fails with -EPERM, otherwise
it succeeds.

An example of BPF_CGROUP_DEVICE program may be found in the kernel
-source tree in the tools/testing/selftests/bpf/dev_cgroup.c file.
+source tree in the tools/testing/selftests/bpf/progs/dev_cgroup.c file.


RDMA
--
2.30.1


2021-02-25 20:11:40

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: cgroup-v2: fix path to example BPF program

Antonio Terceiro <[email protected]> writes:

> This file has been moved into the "progs" subdirectory in
> bd4aed0ee73ca873bef3cb3ec746dd796f03df28, together with all test BPF
> programs.
>
> Signed-off-by: Antonio Terceiro <[email protected]>
> Cc: Tejun Heo <[email protected]>
> Cc: Zefan Li <[email protected]>
> Cc: Johannes Weiner <[email protected]>
> Cc: Jonathan Corbet <[email protected]>
> Cc: Jiong Wang <[email protected]>
> ---
> Documentation/admin-guide/cgroup-v2.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks. I did fix the changelog to include a Fixes: tag with
the commit listed in the proper format.

Thanks,

jon