ntvfs/posix: don't advertise FS_ATTR_SPARSE_FILES
authorDavid Disseldorp <ddiss@samba.org>
Fri, 29 Aug 2014 10:22:56 +0000 (12:22 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Fri, 29 Aug 2014 20:06:21 +0000 (22:06 +0200)
commitb43a5810f839df823af2eb74fa2290c64e5dfaf6
tree164e56cceed87e474eae450de68176ab41165b72
parent5e3b5b53b28edfc4d343b3162d9656e6952fac07
ntvfs/posix: don't advertise FS_ATTR_SPARSE_FILES

Handling of the FSCTL_SET_SPARSE ioctl in ntvfs is broken. Removing
FS_ATTR_SPARSE_FILES from the filesystem attributes ensures that
clients, including the smbtorture ioctl tests, don't attempt to use this
functionality.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allson <jra@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Fri Aug 29 22:06:21 CEST 2014 on sn-devel-104
source4/ntvfs/posix/vfs_posix.c