diff options
author | David Disseldorp <ddiss@samba.org> | 2013-11-18 14:54:30 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-11-22 08:56:45 -0800 |
commit | d8d5d4c7428683da04fa4c8b344504e7044f9b1c (patch) | |
tree | 5ce00faa4dbb6113f2c6d18ae312dd6dc5bc39fd /source3/include/rpc_misc.h | |
parent | 2b435ad4b45ec39b0cf70f55699daba3bcfcee08 (diff) | |
download | samba-d8d5d4c7428683da04fa4c8b344504e7044f9b1c.tar.gz samba-d8d5d4c7428683da04fa4c8b344504e7044f9b1c.tar.xz samba-d8d5d4c7428683da04fa4c8b344504e7044f9b1c.zip |
vfs: add [GET/SET]_COMPRESSION hooks
The VFS interfaces are sychronous, as the operations only modify
meta-data.
These hooks are dependent on support for transparent compression by the
underlying filesystem - vfs_default returns INVALID_DEVICE_REQUEST.
Support for other filesystems providing transparent comression, such as
Btrfs and ZFS, can be added in future.
The get_compression function takes fsp and smb_fname arguments. The
smb_fname argument is needed due to the current dosmode() code-path.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include/rpc_misc.h')
0 files changed, 0 insertions, 0 deletions