mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
vfs_recycle: use the correct return in SMB_VFS_HANDLE_GET_DATA()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15659 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Noel Power <noel.power@suse.com> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit b38241da3dd73386c4f41a56d95d33d4e1e3d2de)
This commit is contained in:
parent
a5d5d83c49
commit
4bb5f8a92a
@ -436,14 +436,14 @@ static int recycle_unlink_internal(vfs_handle_struct *handle,
|
||||
off_t file_size; /* space_avail; */
|
||||
bool exist;
|
||||
int rc = -1;
|
||||
struct recycle_config_data *config;
|
||||
struct recycle_config_data *config = NULL;
|
||||
|
||||
reload_services(NULL, NULL, false);
|
||||
|
||||
SMB_VFS_HANDLE_GET_DATA(handle,
|
||||
config,
|
||||
struct recycle_config_data,
|
||||
return true);
|
||||
return -1);
|
||||
|
||||
frame = talloc_stackframe();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user