aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-01-04 20:05:29 -0800
committerJakub Kicinski <[email protected]>2023-01-05 22:13:39 -0800
commite4d5015bc11bcc5123ec8805d8c7f1e28a77a8a9 (patch)
treece3c7144723b61a592a2bb70ea4058574c20cee3 /lib/memory-notifier-error-inject.c
parentc9666bac537e0f98ce15ea57c5fb25fc0a9a29b1 (diff)
devlink: uniformly take the devlink instance lock in the dump loop
Move the lock taking out of devlink_nl_cmd_region_get_devlink_dumpit(). This way all dumps will take the instance lock in the main iteration loop directly, making refactoring and reading the code easier. Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions