]> sourceware.org Git - lvm2.git/commit
dmstatus: check nr_regions ahead of find call
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 14 Mar 2018 20:01:22 +0000 (21:01 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 15 Mar 2018 09:54:19 +0000 (10:54 +0100)
commita082ce2613f3a9587b0109df0bbc3ebb7e6b1e75
tree345bedb0c3f52bf925685de27f18695f41be3dbf
parent4c925692f58912fbe088a09cdbbc75bfa9e865f5
dmstatus: check nr_regions ahead of find call

Prevent call of dm_stats_populate(), when there has been no
stats region detected for a DM device.
Such skip is evaluated as 'correct' visit of stats call and
not causing 'dmstats' command failure.
WHATS_NEW_DM
tools/dmsetup.c
This page took 0.039057 seconds and 5 git commands to generate.