]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd/ioctl: match WS2016 ReFS set compression behaviour
authorDavid Disseldorp <ddiss@samba.org>
Thu, 5 Jan 2017 16:36:02 +0000 (17:36 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 9 Jan 2017 22:14:27 +0000 (23:14 +0100)
commit28cc347876b97b7409d6efd377f031fc6df0c5f3
tree44ff1e47f5db051f521a7785d0770c121aef44e6
parent6fde123176409e261d955e24b3d28e5124f33bed
smbd/ioctl: match WS2016 ReFS set compression behaviour

ReFS doesn't support compression, but responds to set-compression FSCTLs
with NT_STATUS_OK if (and only if) the requested compression format is
COMPRESSION_FORMAT_NONE.

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

Reported-by: Nick Barrett <nick@barrett.org.nz>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jan  9 23:14:28 CET 2017 on sn-devel-144
source3/smbd/smb2_ioctl_filesys.c