OSDN Git Service

fork: Rename bad_fork_cleanup_threadgroup_lock to bad_fork_cleanup_delayacct
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 20 Dec 2021 16:42:18 +0000 (10:42 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 20 Dec 2021 16:51:00 +0000 (10:51 -0600)
commitff8288ff475e47544569359772f88f2b39fd2cf9
treec8089236ff5d7b3bba1904f7a2778f6b8a0a3cdd
parent6692c98c7df53502adb8b8b73ab9bcbd399f7a06
fork: Rename bad_fork_cleanup_threadgroup_lock to bad_fork_cleanup_delayacct

I just fixed a bug in copy_process when using the label
bad_fork_cleanup_threadgroup_lock.  While fixing the bug I looked
closer at the label and realized it has been misnamed since
568ac888215c ("cgroup: reduce read locked section of
cgroup_threadgroup_rwsem during fork").

Fix the name so that fork is easier to understand.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/fork.c