pub fn fcntl_getlk(
inode: u64,
lock: &FileLock,
) -> Result<Option<FileLock>, KernelError>Expand description
Query for a conflicting lock (F_GETLK semantics).
If a lock exists that would conflict with the described lock, returns
Some(conflicting_lock). Otherwise returns None, indicating the
lock could be placed.