VFS: default: add support for FILE_ATTRIBUTE_OFFLINE to async dosmode
authorRalph Boehme <slow@samba.org>
Mon, 24 Feb 2020 14:03:56 +0000 (15:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 18 Mar 2020 12:27:31 +0000 (12:27 +0000)
commitd65993a65fff869241f2e471cede7a9f33533792
tree200c5be88167909ea2f064e7438d1d0ea39d0b16
parenta0111dc19537ff51e0dd87c85de791aaadfb4349
VFS: default: add support for FILE_ATTRIBUTE_OFFLINE to async dosmode

This had been missing in the initial async dosmode implementation. It's the
responsibility of the sync and async dosmode functions to call
vfswrap_is_offline() since the offline functionality has been converted from a
first class VFS function to be a part of the DOS attributes VFS functions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14293

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a23f8d913fa8d77bab394aea9a8e7df2704e8b19)
source3/modules/vfs_default.c