diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-04-08 17:36:04 +0300 |
---|---|---|
committer | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-04-08 17:43:34 +0300 |
commit | 8e9a2beb5f991916e530184957c4137fab14604c (patch) | |
tree | e07d9f0617bf95741aa7dd131164eb9f2295d44e /lib/irq_poll.c | |
parent | e2ea295baf87d78f2ed86ce595b30c691b18b210 (diff) | |
download | linux-8e9a2beb5f991916e530184957c4137fab14604c.tar.xz |
intel_th: msu: Set fops::owner to prevent module from unloading
Right now it's possible to unload the msu driver while its character
device is open. Prevent it by setting fops::owner, which will result
in the module reference being held while the device node is open.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Laurent Fert <laurent.fert@intel.com>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions