diff options
| author | NeilBrown <neilb@suse.com> | 2018-05-21 14:35:12 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:29:10 +0200 |
| commit | 912a846027c203370f4837a2b2db7ba2ebe1b47c (patch) | |
| tree | e6c84e792969753e2d6cfc24baf0aff42571dde3 /tools/perf/scripts/python | |
| parent | staging: lustre: discard cfs_block_sigsinv() (diff) | |
| download | linux-912a846027c203370f4837a2b2db7ba2ebe1b47c.tar.gz linux-912a846027c203370f4837a2b2db7ba2ebe1b47c.zip | |
staging: lustre: replace libcfs_register_ioctl with a blocking notifier_chain
libcfs allows other modules to register handlers for ioctls.
The implementation it uses for this is nearly identical to a
blocking notifier chain, so change to use that.
The biggest difference is that the return value from notifier has a
defined format, where libcfs_register_ioctl uses -EINVAL to mean
"continue". This requires a little bit of conversion.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
