Re: [PATCH] btrfs: Fix an error handling path in btrfs_rename()

From: Sweet Tea Dorminy
Date: Mon Dec 12 2022 - 15:35:03 EST




On 12/12/22 15:14, Christophe JAILLET wrote:
If new_whiteout_inode() fails, some resources need to be freed.
Add the missing goto to the error handling path.

Fixes: ab3c5c18e8fa ("btrfs: setup qstr from dentrys using fscrypt helper")
Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx>

Thanks for catching this.