commit | 8c88a474357ead632b07c70bf7f119ace8c3b39e | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Nov 24 17:25:26 2023 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Nov 27 11:24:55 2023 +0100 |
tree | 31c18cdb506b19cef567f05306f958c3d65c9dfa | |
parent | f4acfcd4deb158b96595250cc332901b282d15b0 [diff] |
debugfs: add API to allow debugfs operations cancellation In some cases there might be longer-running hardware accesses in debugfs files, or attempts to acquire locks, and we want to still be able to quickly remove the files. Introduce a cancellations API to use inside the debugfs handler functions to be able to cancel such operations on a per-file basis. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>