diff options
author | Mathias Krause <minipli@googlemail.com> | 2014-10-24 01:20:37 +0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-11-12 01:22:27 +0300 |
commit | af5a29aee4d1e5b5fbfbaf45cb097f9c6257c7b8 (patch) | |
tree | a0c6e4f0afe9c85bc1d014a0f72b76f47395f37e /lib/lzo/lzo1x_compress.c | |
parent | cac7f2429872d3733dc3f9915857b1691da2eb2f (diff) | |
download | linux-af5a29aee4d1e5b5fbfbaf45cb097f9c6257c7b8.tar.xz |
efivarfs: Allow unloading when build as module
There is no need to keep the module loaded when it serves no function in
case the EFI runtime services are disabled. Return an error in this case
so loading the module will fail.
Also supply a module_exit function to allow unloading the module.
Last, but not least, set the owner of the file_system_type struct.
Cc: Jeremy Kerr <jk@ozlabs.org>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'lib/lzo/lzo1x_compress.c')
0 files changed, 0 insertions, 0 deletions