diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-12-25 20:07:46 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-12-27 13:16:48 +0100 |
commit | 4e58543e7da4859c4ba61d15493e3522b6ad71fd (patch) | |
tree | a3213c9193b3bbf4f1df7105f469282fe325baa4 /arch/s390 | |
parent | 5a7a964689b78be5817f14409619fded6882821d (diff) | |
download | linux-4e58543e7da4859c4ba61d15493e3522b6ad71fd.tar.gz linux-4e58543e7da4859c4ba61d15493e3522b6ad71fd.tar.bz2 linux-4e58543e7da4859c4ba61d15493e3522b6ad71fd.zip |
gfs2: Refcounting fix in gfs2_thaw_super
It turns out that the .freeze_super and .thaw_super operations require
the filesystem to manage the superblock refcount itself. We are using
the freeze_super() and thaw_super() helpers to mostly take care of that
for us, but this means that the superblock may no longer be around by
when thaw_super() returns, and gfs2_thaw_super() will then access freed
memory. Take an extra superblock reference in gfs2_thaw_super() to fix
that.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions