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:
parent
4abd5f34d9
commit
f024ca961e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user