(kernel_oplocks_available): Comment out.

(lp_set_kernel_oplocks): Likewise.
(lp_kernel_oplocks): Likewise.
This commit is contained in:
Andrew V. Samoilov 2003-03-06 10:38:38 +00:00
parent 37dbe13ce6
commit 30caf4ab5e

View File

@ -2745,7 +2745,7 @@ void lp_set_name_resolve_order(char *new_order)
{
Globals.szNameResolveOrder = new_order;
}
#if 0
/***********************************************************
Set the flag that says if kernel oplocks are available
(called by smbd).
@ -2756,7 +2756,7 @@ static BOOL kernel_oplocks_available = False;
void lp_set_kernel_oplocks(BOOL val)
{
/*
* Only set this to True if kerenl
* Only set this to True if kernel
* oplocks are really available and were
* turned on in the smb.conf file.
*/
@ -2776,3 +2776,4 @@ BOOL lp_kernel_oplocks(void)
{
return kernel_oplocks_available;
}
#endif