git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f47a5
)
vfs_gpfs_prefetch: correctly return -1 on error condition in smbd_gpfs_fcntl()
author
Michael Adam
<obnox@samba.org>
Wed, 28 Jan 2009 12:34:34 +0000
(13:34 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 19 Mar 2009 23:06:05 +0000
(
00:06
+0100)
Michael
source/modules/vfs_gpfs_prefetch.c
patch
|
blob
|
history
diff --git
a/source/modules/vfs_gpfs_prefetch.c
b/source/modules/vfs_gpfs_prefetch.c
index 77f265fc2421b70647e86f223d9514a50fa10c3d..308ac10910b7f009ee38a9af9979074d8850b4fa 100644
(file)
--- 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");