From 258952aa85f2a68e2d2362522f6114c6a439f1e3 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 2 Jul 2009 09:27:44 -0700 Subject: s3: Plumb smb_filename through SMB_VFS_UNLINK --- examples/VFS/skel_opaque.c | 5 +++-- examples/VFS/skel_transparent.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 5d05be9aab..54f7ce8cf2 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -196,9 +196,10 @@ static int skel_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) return vfswrap_lstat(NULL, smb_fname); } -static int skel_unlink(vfs_handle_struct *handle, const char *path) +static int skel_unlink(vfs_handle_struct *handle, + const struct smb_filename *smb_fname) { - return vfswrap_unlink(NULL, path); + return vfswrap_unlink(NULL, smb_fname); } static int skel_chmod(vfs_handle_struct *handle, const char *path, mode_t mode) diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 646c6222ae..09a926ad43 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -189,9 +189,10 @@ static int skel_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) return SMB_VFS_NEXT_LSTAT(handle, smb_fname); } -static int skel_unlink(vfs_handle_struct *handle, const char *path) +static int skel_unlink(vfs_handle_struct *handle, + const struct smb_filename *smb_fname) { - return SMB_VFS_NEXT_UNLINK(handle, path); + return SMB_VFS_NEXT_UNLINK(handle, smb_fname); } static int skel_chmod(vfs_handle_struct *handle, const char *path, mode_t mode) -- cgit