diff options
author | Ye Bin <yebin10@huawei.com> | 2020-09-01 14:25:43 +0800 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-09-02 13:38:31 -0400 |
commit | 219403d7e56f9b716ad80ab87db85d29547ee73e (patch) | |
tree | 8b894a3e1f48592327f89f7d31c9ef24f5c79bf8 /drivers/md/dm-clone-metadata.c | |
parent | d16ff19e69ab57e08bf908faaacbceaf660249de (diff) |
dm thin metadata: Avoid returning cmd->bm wild pointer on error
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>
Diffstat (limited to 'drivers/md/dm-clone-metadata.c')
0 files changed, 0 insertions, 0 deletions