]> git.itanic.dy.fi Git - linux-stable/commit
sysctl: clarify register_sysctl_init() base directory order
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 2 Mar 2023 20:28:18 +0000 (12:28 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:04 +0000 (11:49 -0700)
commit228b09de936395ddd740df3522ea35ae934830d8
tree6aa260ddf05136e5a73572d7ccc737d8eb44acca
parentb2f56e5574eac0cf9e3dc382bef010298cb1f1e9
sysctl: clarify register_sysctl_init() base directory order

Relatively new docs which I added which hinted the base directories needed
to be created before is wrong, remove that incorrect comment. This has been
hinted before by Eric twice already [0] [1], I had just not verified that
until now. Now that I've verified that updates the docs to relax the context
described.

[0] https://lkml.kernel.org/r/875ys0azt8.fsf@email.froward.int.ebiederm.org
[1] https://lkml.kernel.org/r/87ftbiud6s.fsf@x220.int.ebiederm.org

Cc: stable@vger.kernel.org # v5.17
Cc: Christian Brauner <brauner@kernel.org>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Suggested-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
fs/proc/proc_sysctl.c