Re: [PATCH] exfat: call brelse() on error path

From: Markus Elfring
Date: Wed Jun 10 2020 - 08:08:07 EST


> If the second exfat_get_dentry() call fails then we need to release
> "old_bh" before returning.

Thanks you picked a bit of information up from my source code analysis
for a possible adjustment of the function âexfat_rename_fileâ.

exfat: Improving exception handling in two functions
https://lore.kernel.org/linux-fsdevel/208cba7b-e535-c8e0-5ac7-f15170117a7f@xxxxxx/
https://lkml.org/lkml/2020/6/10/272

Would you like to adjust the implementation of the function âexfat_move_fileâ
in a similar way in a subsequent patch variant?

Regards,
Markus