]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_ceph: adjust code-style of cephwrap_disk_free
authorShachar Sharon <ssharon@redhat.com>
Mon, 27 May 2024 09:30:44 +0000 (12:30 +0300)
committerAnoop C S <anoopcs@samba.org>
Thu, 27 Jun 2024 05:34:33 +0000 (05:34 +0000)
commit0f92c6055a6257f5bcbf3f27b21536f9d023cdfa
treed7766b0d82b5e17b58a930a4ccd6e490243ab123
parent691a397b2707f2924e3f6910c9c574e01d811a97
vfs_ceph: adjust code-style of cephwrap_disk_free

The common convention in 'vfs_ceph.c' module is to bailout (by return or
goto) whenever the return value from libcephfs call is not OK. Apply
this code-style to cephwrap_disk_free hook.

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/modules/vfs_ceph.c