diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2019-05-17 00:46:30 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2019-06-27 21:53:45 +0300 |
commit | 2a27b755ed244527df845f07f4dd83988a90f2e4 (patch) | |
tree | 514a0b34f5509029336314c82f6be5ad07f7ee35 /net | |
parent | 4b972a01a7da614b4796475f933094751a295a2f (diff) | |
download | linux-2a27b755ed244527df845f07f4dd83988a90f2e4.tar.xz |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions