s3: smbd: SMB2 close. If a file has delete on close, store the return info before...
authorJeremy Allison <jra@samba.org>
Fri, 20 Feb 2015 02:50:45 +0000 (18:50 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 20 Feb 2015 19:54:18 +0000 (20:54 +0100)
commita6008b2de7b2974073f38a1df88aacc27d3c6f57
tree491ebe28126f716f00890d6fdbc6043fcf108efb
parent4a8c6988e349a4f714f3052ebf3f96f801d3c11f
s3: smbd: SMB2 close. If a file has delete on close, store the return info before deleting.

If we delete the file on close, the stat after the close
will fail so we fail to return the attributes requested.

Bug 11104 - SMB2/SMB3 close response does not include attributes when requested.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Steve French <sfrench@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb 20 20:54:18 CET 2015 on sn-devel-104
source3/smbd/smb2_close.c