diff options
author | Stuart Hayes <[email protected]> | 2024-08-22 15:28:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-03 13:05:08 +0200 |
commit | ba6353748e71bd1d7e422fec2b5c2e2dfc2e3bd9 (patch) | |
tree | 6eac4b9479aafafe22c7d4d6046485dc869efa37 /rust/helpers/build_bug.c | |
parent | 24e041e1e48d06f25a12caaf73728a4ec2e511fe (diff) |
driver core: don't always lock parent in shutdown
Don't lock a parent device unless it is needed in device_shutdown. This
is in preparation for making device shutdown asynchronous, when it will
be needed to allow children of a common parent to shut down
simultaneously.
Signed-off-by: Stuart Hayes <[email protected]>
Signed-off-by: David Jeffery <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Tested-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions