mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
vfs_fruit: add option "delete_empty_adfiles"
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 e00e61345ccd88022cd24e62ac29e2c56a8f6117)
This commit is contained in:
parent
24fd9ddc36
commit
5eb26a5e7c
@ -143,6 +143,7 @@ struct fruit_config_data {
|
||||
bool time_machine;
|
||||
off_t time_machine_max_size;
|
||||
bool wipe_intentionally_left_blank_rfork;
|
||||
bool delete_empty_adfiles;
|
||||
|
||||
/*
|
||||
* Additional options, all enabled by default,
|
||||
@ -2208,6 +2209,10 @@ static int init_fruit_config(vfs_handle_struct *handle)
|
||||
SNUM(handle->conn), FRUIT_PARAM_TYPE_NAME,
|
||||
"wipe_intentionally_left_blank_rfork", false);
|
||||
|
||||
config->delete_empty_adfiles = lp_parm_bool(
|
||||
SNUM(handle->conn), FRUIT_PARAM_TYPE_NAME,
|
||||
"delete_empty_adfiles", false);
|
||||
|
||||
SMB_VFS_HANDLE_SET_DATA(handle, config,
|
||||
NULL, struct fruit_config_data,
|
||||
return -1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user