diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2020-09-15 10:56:08 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-09-29 22:33:11 +0200 |
commit | 399c9bdbd6500254895bdbb574a4acbb860cda41 (patch) | |
tree | 4effef942c2e9ace98ed1e13bd89565477f74561 /drivers/md/dm-path-selector.h | |
parent | dm raid: remove unnecessary discard limits for raid10 (diff) | |
download | linux-399c9bdbd6500254895bdbb574a4acbb860cda41.tar.xz linux-399c9bdbd6500254895bdbb574a4acbb860cda41.zip |
dm thin metadata: Remove unused local variable when create thin and snap
The local variable disk details is not used during the creating of thin & snap
devices. Remove them from dm-thin-metadata, and add pointer validity check for
pointer value in btree_lookup_raw. Skip memory copy when the caller doesn't need
the value.
Signed-off-by: Huaisheng Ye <yehs1@lenovo.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions