aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-02-12 16:25:05 -0500
committerMike Snitzer <snitzer@redhat.com>2015-02-13 19:32:58 -0500
commit145b9006a0ae753582902170ec1da49f89501845 (patch)
tree308ddcabcf6cb2527b16683f0a8c442f2b04e7cf /drivers/md/dm-raid1.c
parentMerge tag 'dm-3.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm (diff)
downloadlinux-dev-145b9006a0ae753582902170ec1da49f89501845.tar.xz
linux-dev-145b9006a0ae753582902170ec1da49f89501845.zip
dm space map disk: fix sm_disk_count_is_more_than_one()
dm_tm_shadow_block() is the only caller of dm_sm_count_is_more_than_one() which only ever operates on a metadata space-map. So in practice, sm_disk_count_is_more_than_one() isn't actually used (which explains why this bug never amounted to anything). But fix sm_disk_count_is_more_than_one() to properly set *result and return 0. Reported-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid1.c')
0 files changed, 0 insertions, 0 deletions