commit | 94832d93992176b7c37672e1fc7b7acc16e70286 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Wed Jan 23 14:12:25 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 25 09:52:02 2019 +0100 |
tree | 9a4708ad1b3c97ab226accb473078bd627e0b1b3 | |
parent | 45a50ab1d684c951ba4d70c1b7bbdd95383bccad [diff] |
staging: erofs: fix potential double iput in erofs_read_super() 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@gmx.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Reviewed-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>