gfs2: Issue message when revokes cannot be written
authorBob Peterson <rpeterso@redhat.com>
Fri, 21 Apr 2023 19:07:09 +0000 (15:07 -0400)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 25 Apr 2023 09:06:30 +0000 (11:06 +0200)
commitb97e583caa25abf95695cd06d7f9512b484c6c01
tree6031d8b2f3097b508d0bee8526be15b9e74931b5
parent68ca088dc1cfc4e366811b11ffe2954c6dcebca1
gfs2: Issue message when revokes cannot be written

Before this patch, function gfs2_ail_empty_gl would silently return an
error to the caller. This would get silently set into sd_log_error which
would cause a withdraw, but there was no indication why the file system
was withdrawn. This patch adds a fs_err to log the appropriate error
message.

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