[SCM] Samba Shared Repository - branch v3-6-test updated

Jeremy Allison jra at samba.org
Mon Mar 7 04:54:50 MST 2011


The branch, v3-6-test has been updated
       via  3d1069f Fix examples/VFS to use correct prototypes for is_offline() and set_offline(). (cherry picked from commit 0faffd4556438f7add6312e58acca345abfbe7fb)
      from  9478dd9 lib/socket_wrapper: try to fix the build on solaris

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 3d1069f1ae6e1665dddb75f90b4a1f941fb663d2
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Mar 7 03:53:11 2011 -0800

    Fix examples/VFS to use correct prototypes for is_offline() and set_offline().
    (cherry picked from commit 0faffd4556438f7add6312e58acca345abfbe7fb)

-----------------------------------------------------------------------

Summary of changes:
 examples/VFS/skel_opaque.c      |    4 ++--
 examples/VFS/skel_transparent.c |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index da126e3..c7350e2 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -760,13 +760,13 @@ static bool skel_aio_force(struct vfs_handle_struct *handle, struct files_struct
 	return false;
 }
 
-static bool skel_is_offline(struct vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf)
+static bool skel_is_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname, SMB_STRUCT_STAT *sbuf)
 {
 	errno = ENOSYS;
 	return false;
 }
 
-static int skel_set_offline(struct vfs_handle_struct *handle, const char *path)
+static int skel_set_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname)
 {
 	errno = ENOSYS;
 	return -1;
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 0ffdc11..ed55c20 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -706,14 +706,14 @@ static bool skel_aio_force(struct vfs_handle_struct *handle, struct files_struct
         return SMB_VFS_NEXT_AIO_FORCE(handle, fsp);
 }
 
-static bool skel_is_offline(struct vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf)
+static bool skel_is_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname, SMB_STRUCT_STAT *sbuf)
 {
-	return SMB_VFS_NEXT_IS_OFFLINE(handle, path, sbuf);
+	return SMB_VFS_NEXT_IS_OFFLINE(handle, fname, sbuf);
 }
 
-static int skel_set_offline(struct vfs_handle_struct *handle, const char *path)
+static int skel_set_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname)
 {
-	return SMB_VFS_NEXT_SET_OFFLINE(handle, path);
+	return SMB_VFS_NEXT_SET_OFFLINE(handle, fname);
 }
 
 /* VFS operations structure */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list