summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2015-11-03 13:06:34 +1100
committerDave Chinner <david@fromorbit.com>2015-11-03 13:06:34 +1100
commitaf3b63822e73b66f3ca9927b46df8b873ab8c6ec (patch)
tree26352bf8bbccc86198fc8a02dcc99633b71a320c /fs/xfs/xfs_super.c
parent47e1bf640558237b79d3009fb7dfe157f12f4f7a (diff)
downloadlinux-af3b63822e73b66f3ca9927b46df8b873ab8c6ec.tar.bz2
xfs: don't leak uuid table on rmmod
Don't leak the UUID table when the module is unloaded. (Found with kmemleak.) Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 904f637cfa5f..29531ec19ba6 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1896,6 +1896,7 @@ exit_xfs_fs(void)
xfs_mru_cache_uninit();
xfs_destroy_workqueues();
xfs_destroy_zones();
+ xfs_uuid_table_free();
}
module_init(init_xfs_fs);