/* We do not implement any tricks to guarantee strict lock ordering, because VFS has already done it for us on the @i_mutex. So this is just a simple wrapper function.  */
static void lock_2_inodes(struct inode *inode1, struct inode *inode2)
/* We do not implement any tricks to guarantee strict lock ordering, because VFS has already done it for us on the @i_mutex. So this is just a simple wrapper function.  */
static void lock_2_inodes(struct inode *inode1, struct inode *inode2)
{
	mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1);
	mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2);
}