]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Incremental.c
Incremental: make sure container name appears in /dev
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:47:07 +0000 (10:47 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:47:07 +0000 (10:47 +1100)
commita408d66c4f4a658f62df547ea5e06b4a7afc5ec0
treea656833be2ec1c8c99f182d36e011d9bb9b000f3
parent6c9a5fa103c65dfe00fe6648c89357f1ffeb9e5c
Incremental: make sure container name appears in /dev

We need to send a "change" event just like we do when
creating an array.

This reverts commit 382afe49b10cf3e5a4764cee74649d1cd8c91813

The problem is that we need udev to create the file in /dev
for us.
It might be unnecessary for udev to consider assembling things
in this array, but it shouldn't cause a problem.  If it did that
would be a different bug which we probably need locking to fix.

Or maybe udev shouldn't trigger a "-I" for containers appearing.

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