git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdb957
)
Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me...
author
Volker Lendecke
<vl@samba.org>
Mon, 18 May 2009 04:18:57 +0000
(06:18 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 26 May 2009 07:39:45 +0000
(09:39 +0200)
Thanks Michael to provide some transparency :-)
(cherry picked from commit
db9f5e1d7bb5a2ee3a42428dd1406f27c09d671f
)
source3/modules/vfs_gpfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_gpfs.c
b/source3/modules/vfs_gpfs.c
index 778f4a00fd7cabf5ee69bd66af269869dcb4e821..7ef969d04bceffe1da891d399af9d1b530877785 100644
(file)
--- 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,