From 99bd4fda0cd97eb211549a511a2ff6153c2bde2d Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Mon, 6 Jul 2009 14:36:16 -0700 Subject: s3: Plumb smb_filename around SMB_VFS_CHFLAGS SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name. --- source3/modules/onefs.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/modules/onefs.h') diff --git a/source3/modules/onefs.h b/source3/modules/onefs.h index 0c39a282d4..88ba5a93f6 100644 --- a/source3/modules/onefs.h +++ b/source3/modules/onefs.h @@ -74,9 +74,6 @@ int onefs_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname); int onefs_unlink(vfs_handle_struct *handle, const char *path); -int onefs_chflags(vfs_handle_struct *handle, const char *path, - unsigned int flags); - NTSTATUS onefs_streaminfo(vfs_handle_struct *handle, struct files_struct *fsp, const char *fname, -- cgit