]> git.baikalelectronics.ru Git - kernel.git/commit
MD: change journal disk role to disk 0
authorShaohua Li <shli@fb.com>
Fri, 18 Dec 2015 04:19:16 +0000 (15:19 +1100)
committerNeilBrown <neilb@suse.com>
Fri, 18 Dec 2015 04:19:16 +0000 (15:19 +1100)
commit43cf246fe03cd4af305550915ee551156d464f6a
tree3c72f0018a1e791e49025536d8e224242bf6055f
parent0407a1fd1d63d2a5604cd156efe9675663af2515
MD: change journal disk role to disk 0

Neil pointed out setting journal disk role to raid_disks will confuse
reshape if we support reshape eventually. Switching the role to 0 (we
should be fine as long as the value >=0) and skip sysfs file creation to
avoid error.

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md.c
drivers/md/md.h