]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Use sb_start_intwrite in gfs2_ail_empty_gl
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 3 Feb 2021 15:15:27 +0000 (16:15 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 3 Feb 2021 15:33:16 +0000 (16:33 +0100)
commit15e20a301ab06575482c7ab3b442a6830cec928e
tree1df898835ae3e188d7268689ba4f4cc6b611d525
parent6e80674af06c0dca6e0153d492d437f3f07fe3e9
gfs2: Use sb_start_intwrite in gfs2_ail_empty_gl

Commit 2e60d7683c8d ("GFS2: update freeze code to use freeze/thaw_super
on all nodes") optimized away the sb_start_intwrite ... sb_end_intwrite
protection for the on-stack transactions in gfs2_ail_empty_gl with no
explanation.  I can't think of a valid reason for doing that, so revert
that change.  This simplifies the next commit.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glops.c
fs/gfs2/trans.c