diff options
author | Dmitry Osipenko <[email protected]> | 2022-05-10 02:32:10 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-05-19 19:30:30 +0200 |
commit | c82f898d873ce10d88f8d60b38c8dd19f1ed7c66 (patch) | |
tree | 71df2d32a177655702f8241e7eca842db2b4fd37 /lib/netdev-notifier-error-inject.c | |
parent | 13dfd97a341a5cf9d15f415dd469f45e971ef12a (diff) |
notifier: Add blocking/atomic_notifier_chain_register_unique_prio()
Add variant of blocking/atomic_notifier_chain_register() functions that
allow registration of a notifier only if it has unique priority, otherwise
-EBUSY error code is returned by the new functions.
Reviewed-by: Michał Mirosław <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions