]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
sysfs_read: return devices in same order as in filesystem.
authorNeilBrown <neilb@suse.de>
Wed, 19 Jun 2013 00:33:47 +0000 (10:33 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 19 Jun 2013 00:33:47 +0000 (10:33 +1000)
commit64e103fe19c84b9ec828a833c1def500d1b70c67
treee53c40444a07e5ec2e04f1057b3d3eb011246298
parent2161adce8f789cfb01123f6c6c1d7c986b27abb5
sysfs_read: return devices in same order as in filesystem.

When we read devices from sysfs (../md/dev-*), store them in the same
order that they appear.  That makes more sense when exposed to a
human (as the next patch will).

Signed-off-by: NeilBrown <neilb@suse.de>
sysfs.c