[dovecot/core] f27a51: lib: Add file_lock_from_dotlock()

GitHub noreply at github.com
Wed Feb 7 14:30:12 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f27a51cd9a66685b63357de25e733c37eb03b07c
      https://github.com/dovecot/core/commit/f27a51cd9a66685b63357de25e733c37eb03b07c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lib/file-lock.c
    M src/lib/file-lock.h

  Log Message:
  -----------
  lib: Add file_lock_from_dotlock()

The dotlock creation requires various settings, so the file-lock.h API can't
easily be used to create it. But once created, it's simpler to keep all lock
types in the same struct file_lock, which can be unlocked/freed once
finished.


  Commit: 2039bdca260cd123832ddda9b2b6862a4abc53aa
      https://github.com/dovecot/core/commit/2039bdca260cd123832ddda9b2b6862a4abc53aa
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-storage-private.h
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: Add mail_storage_lock_create()

This is split off of mailbox_lock_file_create().


  Commit: 9eb5adf5cc773c1e27ae30dd6aa2bc150ae81ac1
      https://github.com/dovecot/core/commit/9eb5adf5cc773c1e27ae30dd6aa2bc150ae81ac1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-user.c

  Log Message:
  -----------
  lib-storage: Change mail_user_lock_file_create() to use mail_storage_lock_create()


  Commit: 74943466e541d8bfe3916bb0eb9fb9cb0599dfe7
      https://github.com/dovecot/core/commit/74943466e541d8bfe3916bb0eb9fb9cb0599dfe7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-storage-private.h
    M src/lib-storage/mail-storage.c
    M src/lib-storage/mail-user.c

  Log Message:
  -----------
  lib-storage: mail_storage_lock_create() - add support for dotlocks


Compare: https://github.com/dovecot/core/compare/f0f2cc0a2903...74943466e541


More information about the dovecot-cvs mailing list