summaryrefslogtreecommitdiff
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2020-09-01 14:25:42 +0800
committerMike Snitzer <snitzer@redhat.com>2020-09-02 13:38:24 -0400
commitd16ff19e69ab57e08bf908faaacbceaf660249de (patch)
treec53e87cd4fa790bad01f45edcdc02b2e34361168 /fs/block_dev.c
parente27fec66f0a94e35a35548bd0b29ae616e62ec62 (diff)
dm cache 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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions