]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: no need to report the component device name from container_content
authorDan Williams <dan.j.williams@intel.com>
Thu, 10 Dec 2009 19:03:39 +0000 (12:03 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 10 Dec 2009 19:03:39 +0000 (12:03 -0700)
commitc3ca5f60282b263808dff6b0b77538d2207c3568
tree1fbe60559d5c4b66c6575f7adfa091dbed15978e
parent7a6ecd55444b703050d3655eb04a22656e37488b
imsm: no need to report the component device name from container_content

sysfs_add_disk() regenerates the name from major:minor, so we can drop a
strcpy that the static analysis checker does not like.

Reported-by: Artur Wojcik <artur.wojcik@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c