1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r21339: Fix the non-linux build. This is more evidence that this needs to be

moved up one layer.
(This used to be commit 552ae93b14)
This commit is contained in:
Jim McDonough 2007-02-14 14:25:56 +00:00 committed by Gerald (Jerry) Carter
parent 5876136754
commit 13ee4a535b

View File

@ -790,12 +790,14 @@ static int vfswrap_linux_setlease(vfs_handle_struct *handle, files_struct *fsp,
START_PROFILE(syscall_linux_setlease);
#ifdef LINUX
/* first set the signal handler */
if(linux_set_lease_sighandler(fd) == -1)
return -1;
result = linux_setlease(fd, leasetype);
#endif
END_PROFILE(syscall_linux_setlease);
return result;
}