s3:smbd: map nterror on smb2_flush errorpath
authorAnton Nefedov via samba-technical <samba-technical@lists.samba.org>
Thu, 15 Mar 2018 11:38:41 +0000 (14:38 +0300)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Apr 2018 06:21:12 +0000 (08:21 +0200)
commitccda6d9b8c893d6432ac92c5c542cbde6039ad74
tree310f2a391e5d832e716b0c8ca4bb2aee6cb22ab0
parentf66a35b8beb8101a0064dfd58e494ec2f2fa40fd
s3:smbd: map nterror on smb2_flush errorpath

smbd_smb2_flush_recv() expects nterror in tevent_req, and otherwise
aborts in tevent_req_is_nterror()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13338

Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 98623129446672521b7fa41d3457b8ce95db828c)
source3/smbd/smb2_flush.c