]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: struct file_lock_settings - Swap inverted comments
authorMarco Bettini <marco.bettini@open-xchange.com>
Fri, 4 Mar 2022 11:05:00 +0000 (11:05 +0000)
committerMarco Bettini <marco.bettini@open-xchange.com>
Tue, 26 Apr 2022 07:47:19 +0000 (09:47 +0200)
src/lib/file-lock.h

index 141c763a9a08b94a8dc47d2702244eeb3200a61b..2ad578cc4af5c8064a3544ab3af29f9dfa0acd53 100644 (file)
@@ -16,12 +16,12 @@ enum file_lock_method {
 struct file_lock_settings {
        enum file_lock_method lock_method;
 
-       /* When the lock is freed, close the fd automatically. This can
-          be useful for files that are only created to exist as lock files. */
-       bool unlink_on_free:1;
        /* When the lock is freed, unlink() the file automatically, unless other
           processes are already waiting on the lock. This can be useful for
           files that are only created to exist as lock files. */
+       bool unlink_on_free:1;
+       /* When the lock is freed, close the fd automatically. This can
+          be useful for files that are only created to exist as lock files. */
        bool close_on_free:1;
        /* Do not panic when the kernel returns EDEADLK while acquiring the
           lock. */