1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

vfs_btrfs: report FILE_SUPPORTS_BLOCK_REFCOUNTING capability

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
This commit is contained in:
Aurelien Aptel 2015-07-30 16:33:08 +02:00 committed by Ralph Boehme
parent a222108284
commit e953184662

View File

@ -39,7 +39,8 @@ static uint32_t btrfs_fs_capabilities(struct vfs_handle_struct *handle,
/* inherit default capabilities, expose compression support */
fs_capabilities = SMB_VFS_NEXT_FS_CAPABILITIES(handle, &ts_res);
fs_capabilities |= FILE_FILE_COMPRESSION;
fs_capabilities |= (FILE_FILE_COMPRESSION
| FILE_SUPPORTS_BLOCK_REFCOUNTING);
*_ts_res = ts_res;
return fs_capabilities;