mirror of
https://github.com/samba-team/samba.git
synced 2025-10-08 07:33:19 +03:00
ReFS doesn't support compression, but responds to get-compression FSCTLs with a successful COMPRESSION_FORMAT_NONE response. set-compression results in NT_STATUS_NOT_SUPPORTED. This commit modifies Samba to match the ReFS behaviour, when run atop a VFS that doesn't expose compression support. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12144 Reported-by: Nick Barrett Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>