diff options
| author | Waiman Long <[email protected]> | 2017-08-17 15:49:56 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-28 14:50:15 +0000 |
| commit | 39bf04db6b2b13eeb2aa565930034dc9d4198d93 (patch) | |
| tree | e7b5981de4a835d2abff37452dc389489bc74f6e /net/switchdev/switchdev.c | |
| parent | fbdev: uvesafb: remove DRIVER_ATTR() usage (diff) | |
| download | kernel-39bf04db6b2b13eeb2aa565930034dc9d4198d93.tar.gz kernel-39bf04db6b2b13eeb2aa565930034dc9d4198d93.zip | |
kernfs: Clarify lockdep name for kn->count
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 <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
