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:
e6107bb
)
Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me...
build_3.2.11_ctdb.61
author
Volker Lendecke
<vl@samba.org>
Mon, 18 May 2009 04:18:57 +0000
(06:18 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 20 May 2009 13:43:03 +0000
(15:43 +0200)
source/modules/vfs_gpfs.c
patch
|
blob
|
history
diff --git
a/source/modules/vfs_gpfs.c
b/source/modules/vfs_gpfs.c
index 8ca8d18f8e578bd79cea3f9e881726370a060994..7c49c8497f586ad46342d821970860cd73af9722 100644
(file)
--- a/
source/modules/vfs_gpfs.c
+++ b/
source/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,