diff options
author | Tejun Heo <[email protected]> | 2022-08-27 19:04:38 -1000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-01 18:08:44 +0200 |
commit | f8eb145eb946d543e8c8df3d2db39fcd5c80dacb (patch) | |
tree | a91e15f1a2a7021278c37d563d05e16f22c1d763 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c25491747b21536bd56dccb82a109754bbc8d52c (diff) |
kernfs: Factor out kernfs_activate_one()
Factor out kernfs_activate_one() from kernfs_activate() and reorder
operations so that KERNFS_ACTIVATED now simply indicates whether activation
was attempted on the node ignoring whether activation took place. As the
flag doesn't have a reader, the refactoring and reordering shouldn't cause
any behavior difference.
Tested-by: Chengming Zhou <[email protected]>
Reviewed-by: Chengming Zhou <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions