]> git.ipfire.org Git - thirdparty/linux.git/commit
gfs2: Get rid of gfs2_log_[un]lock helpers
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 20 Mar 2026 15:43:15 +0000 (16:43 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 23 Mar 2026 19:55:28 +0000 (20:55 +0100)
commit5a15907f99e5d93b0133be608a9bbe24fd76f67a
tree485ced9d4d0247cace7ef0a11a9bd6f7fedcc646
parent7288185ce87ec70133b7bc3b694b0f74bf46a0ee
gfs2: Get rid of gfs2_log_[un]lock helpers

These two helpers only hide the locking operation; they do not make
the code more readable.

Created with:

sed -i -e 's:gfs2_log_unlock(sdp):spin_unlock(\&sdp->sd_log_lock):' \
       -e 's:gfs2_log_lock(sdp):spin_lock(\&sdp->sd_log_lock):'

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