summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorDarrick J. Wong2015-11-03 03:06:34 +0100
committerDave Chinner2015-11-03 03:06:34 +0100
commitaf3b63822e73b66f3ca9927b46df8b873ab8c6ec (patch)
tree26352bf8bbccc86198fc8a02dcc99633b71a320c /fs/xfs/xfs_super.c
parentxfs: invalidate cached acl if set via ioctl (diff)
downloadkernel-qcow2-linux-af3b63822e73b66f3ca9927b46df8b873ab8c6ec.tar.gz
kernel-qcow2-linux-af3b63822e73b66f3ca9927b46df8b873ab8c6ec.tar.xz
kernel-qcow2-linux-af3b63822e73b66f3ca9927b46df8b873ab8c6ec.zip
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);