diff options
author | NeilBrown <neilb@suse.de> | 2011-03-15 04:48:20 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-15 04:48:20 +0100 |
commit | 02c39ab1d5519d8d802e3c5d86034d68322c38e7 (patch) | |
tree | b809fc48f3f62af34ec2f3ffbff23a7af73df88c /managemon.c | |
parent | ddf: set vcnum correctly when creating a new virtual device in conflist (diff) | |
download | mdadm-02c39ab1d5519d8d802e3c5d86034d68322c38e7.tar.xz mdadm-02c39ab1d5519d8d802e3c5d86034d68322c38e7.zip |
Manage/external: for external metadata, add_to_super needs lock on container.
add_to_super could use information from the current superblock (ddf
does), so add_to_super for external metadata should be called with
the O_EXCL lock held on the container to ensure the update is complete
before any other process tries to make any changes (like adding
another device to array).
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'managemon.c')
0 files changed, 0 insertions, 0 deletions