]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mapfile.c
fix: correct unlocking of map file
authorLukasz Dorau <lukasz.dorau@intel.com>
Sun, 2 Oct 2011 21:55:02 +0000 (08:55 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 2 Oct 2011 21:55:02 +0000 (08:55 +1100)
commitcc700db34f6fb565b37f4edf7fe7fe40a5f2745b
treee66823392910fe75f39af2fcb624ae10d68fced0
parente3da7890555d8cfe17fd9ee4f5f04ab64f855919
fix: correct unlocking of map file

1. Three missing map_unlock() calls were added.
2. Map file must be unlocked on fork, else child will hold lock.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
Incremental.c
mapfile.c
mdadm.h