Re: [PATCH] exfat: avoid incorrectly releasing for root inode

From: Namjae Jeon
Date: Fri Jun 11 2021 - 20:59:07 EST


2021-06-09 12:48 GMT+09:00, Chen Li <chenli@xxxxxxxxxxxxx>:
>
> In d_make_root, when we fail to allocate dentry for root inode,
> we will iput root inode and returned value is NULL in this function.
>
> So we do not need to release this inode again at d_make_root's caller.
>
> Signed-off-by: Chen Li <chenli@xxxxxxxxxxxxx>
merged into #dev, Thanks for your patch!