From: Volker Lendecke Date: Fri, 14 Jun 2019 12:33:03 +0000 (-0700) Subject: smbd: Use NT_STATUS_IS_OK() in reply_unlock() X-Git-Tag: ldb-2.0.5~338 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1736f7c5c5e27d8b50a969da0be74ecb3a17e47b;p=thirdparty%2Fsamba.git smbd: Use NT_STATUS_IS_OK() in reply_unlock() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 0242e66d92e..4fd2f1cec8d 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -5715,7 +5715,7 @@ void reply_unlock(struct smb_request *req) offset, WINDOWS_LOCK); - if (NT_STATUS_V(status)) { + if (!NT_STATUS_IS_OK(status)) { reply_nterror(req, status); END_PROFILE(SMBunlock); return;