• Ondrej Kozina's avatar
    Update LUKS2 locks for atomic operations. · 88b39241
    Ondrej Kozina authored
    Atomic operation requires to hold a lock for longer period than
    single metadata I/O. Update locks so that we can:
    
    - lock a device more than once (lock ref counting)
    - reaquire read lock on already held write lock (write lock
      is stronger than read lock)
    88b39241
utils_device_locking.h 1.63 KB