XFS_ILOCK_DEP
down_write_nested(&ip->i_lock, XFS_ILOCK_DEP(lock_flags));
down_read_nested(&ip->i_lock, XFS_ILOCK_DEP(lock_flags));