Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pstore: Drop useless try_module_get() for backend
There is no reason to be doing a module get/put in pstore_register(), since the module calling pstore_register() cannot be unloaded since it hasn't finished its initialization. Remove it so there is no confusion about how registration ordering works. Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Kees Cook <[email protected]>
- Loading branch information