vfs_gpfs: Remove function call from "if" statement
authorChristof Schmitt <cs@samba.org>
Thu, 16 Jan 2020 19:15:29 +0000 (12:15 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 21 Jan 2020 22:08:41 +0000 (22:08 +0000)
commit96252a0ec4c460372f79f8fb31a876ab511c941d
treef6d0d240de7e17b2ed265ffb3a01834e9945f776
parentd9c992a7a9fef7cdaea304b9c22f9e4025588e87
vfs_gpfs: Remove function call from "if" statement

Follow the current coding guidelines to first issue the function call
and then check the return code.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_gpfs.c