summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2021-03-25 15:51:13 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2021-03-25 20:53:38 +0300
commitff132c5f93c06bd4432bbab5c369e468653bdec4 (patch)
treeb75d789976555a23d30350a5aa6f8620af1b2ad4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent62dd0f98a0e5668424270b47a0c2e973795faba7 (diff)
downloadlinux-ff132c5f93c06bd4432bbab5c369e468653bdec4.tar.xz
gfs2: report "already frozen/thawed" errors
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions