search for: file_dotlock_open_group

Displaying 1 result from an estimated 1 matches for "file_dotlock_open_group".

2013 Jul 08
1
Non-blocking file_dotlock_open() in quota-maildir question
Hello, Is it safe to change lines in plugins/quota/quota-maildir.c::maildirsize_write() from ? fd = file_dotlock_open_group(.., DOTLOCK_CREATE_FLAG_NONBLOCK, ..); to ? fd = file_dotlock_open_group(.., 0, ..); ? Rationale is: exim+cpanel frequently leave stale maldirsize.lock, but when quota plugin try to dotlock maildirsize, it do this with NONBLOCK flag and just once, so first lock fails with EAGAIN and second may nev...