VFS: Modify rmdir to take a const struct smb_filename * instead of const char *
[kamenim/samba-autobuild/.git] / source3 / modules / vfs_syncops.c
index e533a55a716a46fed569545898782a468c0e137b..8b5d79c63d0214827476cd52b780af799ce62f7d 100644 (file)
@@ -224,9 +224,10 @@ static int syncops_mkdir(vfs_handle_struct *handle,
         SYNCOPS_NEXT_SMB_FNAME(MKDIR, smb_fname, (handle, smb_fname, mode));
 }
 
-static int syncops_rmdir(vfs_handle_struct *handle,  const char *fname)
+static int syncops_rmdir(vfs_handle_struct *handle,
+                       const struct smb_filename *smb_fname)
 {
-        SYNCOPS_NEXT(RMDIR, fname, (handle, fname));
+        SYNCOPS_NEXT_SMB_FNAME(RMDIR, smb_fname, (handle, smb_fname));
 }
 
 /* close needs to be handled specially */