torture/ioctl: test sparse file operation locking
commite27ea1bcbbf74ccf1bef224660a30b4468ad3fb3
authorDavid Disseldorp <ddiss@samba.org>
Wed, 25 Feb 2015 14:29:56 +0000 (25 15:29 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 9 Mar 2015 20:27:08 +0000 (9 21:27 +0100)
tree9c751942ec8a6782bf4525b10fbf550235dcd8e7
parentb0e5a4ebde8af4dad9fda0f73df23d55ee6d858a
torture/ioctl: test sparse file operation locking

An exclusively locked file can still be marked sparse. QAR requests
covering the locked-range should also succed. ZERO_DATA requests are
blocked.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/ioctl.c