mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
parent
ec33db96d5
commit
33179a95d8
@ -158,7 +158,7 @@ void brl_init(int read_only)
|
||||
{
|
||||
if (tdb) return;
|
||||
tdb = tdb_open(lock_path("brlock.tdb"), 0, TDB_CLEAR_IF_FIRST,
|
||||
read_only?O_RDONLY:O_RDWR|O_CREAT, 0644);
|
||||
read_only?O_RDONLY:(O_RDWR|O_CREAT), 0644);
|
||||
if (!tdb) {
|
||||
DEBUG(0,("Failed to open byte range locking database\n"));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user