[dm-devel] [PATCH] Check for mapname length
Hannes Reinecke
hare at suse.de
Fri Dec 9 11:43:59 UTC 2005
Hi Christophe,
you asked for it:
This patch checks whether the mapname returned by dm_task_get_name is
not zero-sized. So NULL is returned always for an invalid mapname.
Cheers,
Hannes
--
Dr. Hannes Reinecke hare at suse.de
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multipath-tools-mapname-length.patch
Type: text/x-patch
Size: 1477 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20051209/ea90ed85/attachment.bin>
More information about the dm-devel
mailing list