[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.7_ctdb.54-32-g462760c

Michael Adam obnox at samba.org
Tue Feb 3 09:39:17 GMT 2009


The branch, v3-2-ctdb has been updated
       via  462760c412aa86c57600ca7c87a28ed4de1ab60a (commit)
      from  fa7a49f9298c0044419947d2863aedb64e398811 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit 462760c412aa86c57600ca7c87a28ed4de1ab60a
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jan 28 13:34:34 2009 +0100

    vfs_gpfs_prefetch: correctly return -1 on error condition in smbd_gpfs_fcntl()
    
    Michael

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

Summary of changes:
 source/modules/vfs_gpfs_prefetch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_gpfs_prefetch.c b/source/modules/vfs_gpfs_prefetch.c
index 77f265f..308ac10 100644
--- a/source/modules/vfs_gpfs_prefetch.c
+++ b/source/modules/vfs_gpfs_prefetch.c
@@ -41,7 +41,7 @@ static int smbd_gpfs_fcntl(int fd, void *arg)
 		if (libgpfs_handle == NULL) {
 			DEBUG(10, ("sys_dlopen for libgpfs failed: %s\n",
 				   strerror(errno)));
-			return;
+			return -1;
 		}
 
 		gpfs_fcntl_fn = sys_dlsym(libgpfs_handle, "gpfs_fcntl");


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list