diff options
author | 2005-09-09 16:23:50 -0700 | |
---|---|---|
committer | 2005-09-09 16:39:11 -0700 | |
commit | 7b1e35f6d666693e8f376ce02242efca3ec09aaf (patch) | |
tree | c471a526b69594ce1bd7daa44ab50c51a0c6bfcf /lib/dec_and_lock.c | |
parent | [PATCH] md: do not set mddev->bitmap until bitmap is fully initialised (diff) | |
download | wireguard-linux-7b1e35f6d666693e8f376ce02242efca3ec09aaf.tar.xz wireguard-linux-7b1e35f6d666693e8f376ce02242efca3ec09aaf.zip |
[PATCH] md: allow hot-adding devices to arrays with non-persistant superblocks.
It is possibly (and occasionally useful) to have a raid1 without persistent
superblocks. The code in add_new_disk for adding a device to such an array
always tries to read a superblock.
This will obviously fail.
So do the appropriate test and call md_import_device with
appropriate args.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions