From: Volker Lendecke Date: Mon, 18 May 2009 04:18:57 +0000 (+0200) Subject: Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me... X-Git-Tag: tdb-1.1.5~453 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f024ca961e55c76410cc952938f3efc173c746ec;p=thirdparty%2Fsamba.git Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me... Thanks Michael to provide some transparency :-) --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 778f4a00fd7..7ef969d04bc 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,