FN_LOCAL_BOOL(strict_allocate, strict_allocate)
FN_LOCAL_BOOL(delete_readonly, delete_readonly)
FN_LOCAL_BOOL(fake_oplocks, fake_oplocks)
-FN_LOCAL_BOOL(recursive_veto_delete, recursive_veto_delete)
+FN_LOCAL_BOOL(delete_veto_files, delete_veto_files)
FN_LOCAL_BOOL(dos_filemode, dos_filemode)
FN_LOCAL_BOOL(dos_filetimes, dos_filetimes)
FN_LOCAL_BOOL(dos_filetime_resolution, dos_filetime_resolution)
.label = "delete veto files",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(recursive_veto_delete),
+ .offset = LOCAL_VAR(delete_veto_files),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
.copymap = NULL,
.delete_readonly = false,
.fake_oplocks = false,
- .recursive_veto_delete = false,
+ .delete_veto_files = false,
.dos_filemode = false,
.dos_filetimes = true,
.dos_filetime_resolution = false,
/* We only have veto files/directories.
* Are we allowed to delete them ? */
- if(!lp_recursive_veto_delete(SNUM(conn))) {
+ if(!lp_delete_veto_files(SNUM(conn))) {
TALLOC_FREE(dir_hnd);
errno = ENOTEMPTY;
goto err;