locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait