Bob Peterson 9e5e044362 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>
2021-04-16 11:49:30 +02:00
..
2018-07-02 16:27:17 +01:00
2020-05-20 08:18:41 +02:00
2018-06-04 07:56:51 -05:00
2018-07-25 00:08:59 +02:00
2020-02-11 04:34:07 -08:00
2018-02-01 11:25:31 -07:00
2018-01-23 07:38:53 -07:00
2018-07-25 00:06:24 +02:00
2018-07-05 17:47:16 +02:00
2018-06-21 07:39:44 -05:00
2018-08-03 13:20:02 +01:00