[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-1044-gdb9f5e1

Volker Lendecke vlendec at samba.org
Wed May 20 13:45:39 GMT 2009


The branch, v3-4-test has been updated
       via  db9f5e1d7bb5a2ee3a42428dd1406f27c09d671f (commit)
      from  0eaf040f469972d1dfd2b53d8df97bb135e3e4d4 (commit)

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


- Log -----------------------------------------------------------------
commit db9f5e1d7bb5a2ee3a42428dd1406f27c09d671f
Author: Volker Lendecke <vl at samba.org>
Date:   Mon May 18 06:18:57 2009 +0200

    Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me...
    
    Thanks Michael to provide some transparency :-)

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

Summary of changes:
 source3/modules/vfs_gpfs.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 778f4a0..7ef969d 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -51,15 +51,11 @@ static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, files_struct *fsp,
 
 static int vfs_gpfs_close(vfs_handle_struct *handle, files_struct *fsp)
 {
-	int result;
-
 	if ((fsp->fh != NULL) && (fsp->fh->fd != -1)) {
 		set_gpfs_sharemode(fsp, 0, 0);
 	}
 
-	result = fd_close_posix(fsp);
-
-	return result;
+	return SMB_VFS_NEXT_CLOSE(handle, fsp);
 }
 
 static int vfs_gpfs_setlease(vfs_handle_struct *handle, files_struct *fsp, 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list