diff options
-rw-r--r-- | source3/modules/vfs_gpfs.c | 6 |
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, |