/* unlock_3_inodes - a wrapper for unlocking three UBIFS inodes for rename. @inode1: first inode @inode2: second inode @inode3: third inode  */
static void unlock_3_inodes(struct inode *inode1, struct inode *inode2, struct inode *inode3)
/* unlock_3_inodes - a wrapper for unlocking three UBIFS inodes for rename. @inode1: first inode @inode2: second inode @inode3: third inode  */
static void unlock_3_inodes(struct inode *inode1, struct inode *inode2, struct inode *inode3)
{
	if (inode3)
		mutex_unlock(&ubifs_inode(inode3)->ui_mutex);
	if (inode1 != inode2)
		mutex_unlock(&ubifs_inode(inode2)->ui_mutex);
	mutex_unlock(&ubifs_inode(inode1)->ui_mutex);
}