Ignore:
Timestamp:
Feb 4, 2014, 7:34:29 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.6: more logging in locking code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/tdb/common/io.c

    r840 r841  
    101101        // 2. if the write lock wasn't set, we try to unlock the segment
    102102        //    first and add the write lock afterwards
    103         int upgradeLockRC = tdb_brlock(tdb, F_WRLCK, off, len, TDB_LOCK_NOWAIT);
     103        int upgradeLockRC = 0;
     104        upgradeLockRC = tdb_brlock(tdb, F_WRLCK, off, len, TDB_LOCK_NOWAIT);
    104105        if (upgradeLockRC != 0) {
    105106                tdb_brunlock(tdb, F_RDLCK, off, len);
Note: See TracChangeset for help on using the changeset viewer.