Messages in this thread | | | Subject | Re: [PATCH] exfat: call brelse() on error path | From | Markus Elfring <> | Date | Wed, 10 Jun 2020 14:07:39 +0200 |
| |
> 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@web.de/ 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
| |