summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-18 06:18:57 +0200
committerVolker Lendecke <vl@samba.org>2009-05-20 15:44:27 +0200
commitf024ca961e55c76410cc952938f3efc173c746ec (patch)
tree806ea4738fa8a85e739b5acab96c34330f24cd77 /source3/modules
parent4abd5f34d97d759afd92ca854d9fffb382a4f999 (diff)
downloadsamba-f024ca961e55c76410cc952938f3efc173c746ec.tar.gz
samba-f024ca961e55c76410cc952938f3efc173c746ec.tar.bz2
samba-f024ca961e55c76410cc952938f3efc173c746ec.zip
Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me...
Thanks Michael to provide some transparency :-)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_gpfs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 778f4a00fd..7ef969d04b 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,