commit | 2a27b755ed244527df845f07f4dd83988a90f2e4 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Thu May 16 22:46:30 2019 +0100 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Thu Jun 27 20:53:45 2019 +0200 |
tree | 514a0b34f5509029336314c82f6be5ad07f7ee35 | |
parent | 4b972a01a7da614b4796475f933094751a295a2f [diff] |
gfs2: Clean up freeing struct gfs2_sbd Add a free_sbd function for freeing a struct gfs2_sbd. Use that for freeing a super-block descriptor, either directly or via kobject_put. Free sd_lkstats inside the kobject release function: that way, gfs2_put_super will no longer leak sd_lkstats. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>