author: Eric Biggers <ebiggers@google.com> 2019-07-22 09:26:22 -0700
committer: Eric Biggers <ebiggers@google.com> 2019-07-28 16:59:16 -0700
commit: 8a1d0f9cacc997bedc017056a94f35dc823394ed
parent: c1d9b584e2cf3f0562d8fcf34574c044d17853a1
Commit Summary:
Diffstat:
1 file changed, 5 insertions, 0 deletions
diff --git a/fs/verity/open.c b/fs/verity/open.c
index 2cb2fe8082bf..3636a1ed8e2c 100644
--- a/fs/verity/open.c
+++ b/fs/verity/open.c
@@ -337,3 +337,9 @@ int __init fsverity_init_info_cache(void)
return -ENOMEM;
return 0;
}
+
+void __init fsverity_exit_info_cache(void)
+{
+ kmem_cache_destroy(fsverity_info_cachep);
+ fsverity_info_cachep = NULL;
+}