]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Two small fixes related to enough()
authorNeilBrown <neilb@suse.de>
Wed, 4 Dec 2013 21:58:21 +0000 (08:58 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 4 Dec 2013 21:58:21 +0000 (08:58 +1100)
commit5dd29dafa26f1745ef055de1a035317d75c0e4ed
treefb2edb8f345383b97d57a99bd54cc59f9dc0b0fd
parentb11fe74db0d764c3a245d95bc3651be9bbd59463
Two small fixes related to enough()

1/ enough_fd doesn't use avail_disks any more, so discard it.

2/ Manage_Add increments 'found' at the wrong place, so it can
   waste time before calling enough().

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