]> 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)
commitda444972f8d459a67c9dc64c2b346aca5f086c20
tree3c72f0018a1e791e49025536d8e224242bf6055f
parent8f7c63427580a5417b2695374d3520b963107fe4
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