]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Partially revert "gfs2: do_xmote fixes"
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 8 Jul 2025 20:07:17 +0000 (22:07 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 12 Sep 2025 10:02:08 +0000 (12:02 +0200)
commit418c854759341cdf687240bd064de09ce38b92c5
treebbc8e2d685dc768937af679c8bc50e54758bd756
parent4250e683de69a637b93f7c7bda7818b36b1cf32e
gfs2: Partially revert "gfs2: do_xmote fixes"

When the lm_lock hook which calls dlm_lock() returns an error,
do_xmote() previously reported the error to the syslog ("lm_lock ret
%d\n") but otherwise ignored it during withdraws.  Commit 9947a06d29c0
("gfs2: do_xmote fixes") changed that to pass the error on to the glock
layer, but the error would then only result in an unconditional BUG() in
finish_xmote(), which doesn't help.  Instead, revert to the previous
behavior.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
fs/gfs2/glock.c