1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

Use SMB_VFS_NEXT_CLOSE. This VFS stuff is really opaque to me...

Thanks Michael to provide some transparency :-)
This commit is contained in:
Volker Lendecke 2009-05-18 06:18:57 +02:00
parent 4abd5f34d9
commit f024ca961e

View File

@ -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,