[PATCH] staging: erofs: fix potential double iput in erofs_read_super()
Gao Xiang
gaoxiang25 at huawei.com
Thu Jan 24 00:46:08 AEDT 2019
On 2019/1/23 14:12, Chengguang Xu wrote:
> Some error cases like failing from d_make_root() will
> cause double iput because d_make_root() also does iput
> in its error path.
>
> Signed-off-by: Chengguang Xu <cgxu519 at gmx.com>
Looks good to me :) I did some basic test as well,
and it seems fine.
Reviewed-by: Gao Xiang <gaoxiang25 at huawei.com>
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list