1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

vfs_fruit: add option "wipe_intentionally_left_blank_rfork"

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13642

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 2dbb2d287399e9c829a4fd4908a6dfba9fdfd7e8)
This commit is contained in:
Ralph Boehme 2018-10-03 12:01:00 +02:00 committed by Karolin Seeger
parent 01a76b2b14
commit 1a378c1238

View File

@ -142,6 +142,7 @@ struct fruit_config_data {
const char *model;
bool time_machine;
off_t time_machine_max_size;
bool wipe_intentionally_left_blank_rfork;
/*
* Additional options, all enabled by default,
@ -2094,6 +2095,10 @@ static int init_fruit_config(vfs_handle_struct *handle)
config->time_machine_max_size = conv_str_size(tm_size_str);
}
config->wipe_intentionally_left_blank_rfork = lp_parm_bool(
SNUM(handle->conn), FRUIT_PARAM_TYPE_NAME,
"wipe_intentionally_left_blank_rfork", false);
SMB_VFS_HANDLE_SET_DATA(handle, config,
NULL, struct fruit_config_data,
return -1);