summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2021-03-25 08:51:13 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-16 11:57:53 +0200
commitbbae0543ef9c60ca66066f5373bde920b8dc48f9 (patch)
tree8ad8a10d512eb2f3cdbb5de8312853ee8db426d6 /block/bio.c
parent97329e011ffe392c83000563eb70447b16cf145d (diff)
gfs2: report "already frozen/thawed" errors
[ Upstream commit ff132c5f93c06bd4432bbab5c369e468653bdec4 ] Before this patch, gfs2's freeze function failed to report an error when the target file system was already frozen as it should (and as generic vfs function freeze_super does. Similarly, gfs2's thaw function failed to report an error when trying to thaw a file system that is not frozen, as vfs function thaw_super does. The errors were checked, but it always returned a 0 return code. This patch adds the missing error return codes to gfs2 freeze and thaw. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions