diff options
| author | Ye Bin <yebin10@huawei.com> | 2020-09-01 14:25:43 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-12 11:45:31 +0200 |
| commit | 9466c4116852eb40380e3ffa9cfeae55c344c551 (patch) | |
| tree | 4f0c9b478ac9aee3fa55327a021977448e0fa36a /lib/mpi/mpi-bit.c | |
| parent | caf38213c01611c11aaa0ec7d2b7433a38552752 (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>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
