From 14044d5d591b0416103cee8c0a4dcf0052e1278a Mon Sep 17 00:00:00 2001 From: olivier Date: Fri, 29 Jan 2010 11:43:22 +0100 Subject: [PATCH] rmdir called NEXT_CLOSEDIR instead of NEXT_RMDIR --- source3/modules/vfs_scannedonly.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c index 20fe57d..9f484ef 100644 --- a/source3/modules/vfs_scannedonly.c +++ b/source3/modules/vfs_scannedonly.c @@ -878,7 +878,8 @@ static int scannedonly_rmdir(vfs_handle_struct * handle, const char *path) TALLOC_FREE(smb_fname); } } - return SMB_VFS_NEXT_CLOSEDIR(handle, dirp); + SMB_VFS_NEXT_CLOSEDIR(handle, dirp); + return SMB_VFS_NEXT_CLOSEDIR(handle, path); } static void free_scannedonly_data(void **data) -- 1.5.6.5