From 4890ad0359f2171f9f70f2441869fad9e02dba8f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 18 May 2009 06:18:57 +0200 Subject: [PATCH] Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me... --- source/modules/vfs_gpfs.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/modules/vfs_gpfs.c b/source/modules/vfs_gpfs.c index 8ca8d18f8e..7c49c8497f 100644 --- 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, -- 2.34.1