]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9b15603dbd98ad1003355ef6ac7d682c75df81c1
tree3c72f0018a1e791e49025536d8e224242bf6055f
parentcc57858831e3e9678291de730c4b4d2e52a19f59
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