Messages in this thread | | | Date | Thu, 17 Aug 2017 11:46:13 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] kernfs: Clarify lockdep name for kn->count |
| |
On Thu, Aug 17, 2017 at 11:49:56AM -0400, Waiman Long wrote: > The reference count in kernfs_node structure is treated like a rwsem by > using lockdep instrumentation code. The lockdep name, however, is still > "s_active" which is carried over from the old sysfs code. As s_active > is no longer the variable name, its use may confuse users on where the > lock is when it is reported by lockdep. So it is changed to "kn->count" > which is how this variable is normally referenced in kernfs code. > > Signed-off-by: Waiman Long <longman@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
-- tejun
| |