mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:smbd only initialize kernel oplocks if they are enabled for a share
Signed-off-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
1d9a3d488d
commit
fbfbc6a252
@ -709,6 +709,10 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lp_kernel_oplocks(snum)) {
|
||||||
|
init_kernel_oplocks(conn->sconn);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Fix compatibility issue pointed out by Volker.
|
* Fix compatibility issue pointed out by Volker.
|
||||||
* We pass the conn->connectpath to the preexec
|
* We pass the conn->connectpath to the preexec
|
||||||
|
Loading…
Reference in New Issue
Block a user