Reference

blocking_notifier_chain_unregister(9)

Remove notifier from a blocking notifier chain

NAME

blocking_notifier_chain_unregister - Remove notifier from a blocking notifier chain

SYNOPSIS

int blocking_notifier_chain_unregister(struct blocking_notifier_head * nh, struct notifier_block * n);

ARGUMENTS

nh

Pointer to head of the blocking notifier chain

n

Entry to remove from notifier chain

DESCRIPTION

Removes a notifier from a blocking notifier chain. Must be called from process context.

Returns zero on success or -ENOENT on failure.

COPYRIGHT