commit | 2c00ee626ed48c6ba1f10b8350a8c118846db9ce | [log] [tgz] |
---|---|---|
author | Ye Bin <yebin10@huawei.com> | Tue Sep 01 14:25:43 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 09 19:04:31 2020 +0200 |
tree | 83a47fe6713fbd58bf2e27c080c1e3e4c6efbdf4 | |
parent | 67f03c3d6829cf9c4b4015b24326a2cb7b8d6664 [diff] |
dm thin metadata: Avoid returning cmd->bm wild pointer on error commit 219403d7e56f9b716ad80ab87db85d29547ee73e upstream. Maybe __create_persistent_data_objects() caller will use PTR_ERR as a pointer, it will lead to some strange things. Signed-off-by: Ye Bin <yebin10@huawei.com> Cc: stable@vger.kernel.org Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>