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:
parent
a222108284
commit
e953184662
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user