Move handle checking code to copychunk_check_handles().
commitd6e10f00666b9baa17927067e58361ab39901fa1
authorJeremy Allison <jra@samba.org>
Wed, 16 Jan 2013 20:51:32 +0000 (16 12:51 -0800)
committerDavid Disseldorp <ddiss@samba.org>
Thu, 17 Jan 2013 23:06:52 +0000 (18 00:06 +0100)
tree7defbe88647dc6d10ea0d379da7c21ed2e32483c
parent7a21f605c14a43807e4887fd92df61a341132a43
Move handle checking code to copychunk_check_handles().

Planning to add extra checks to ensure we don't attempt
copychunk on printer or IPC$ handles.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/smbd/smb2_ioctl_network_fs.c