]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: don't impose the MD_SB_DISKS limit on arrays without metadata.
authorNeilBrown <neilb@suse.com>
Tue, 28 Feb 2017 20:31:28 +0000 (07:31 +1100)
committerShaohua Li <shli@fb.com>
Thu, 9 Mar 2017 17:02:30 +0000 (09:02 -0800)
commit1b3bae49fba52f1ec499c36c53bc07761a9f6c4d
treedb6148595c7c633694c621316e860c7c7bc71030
parentc94836342192b05d599d6aa3397f732f7a238689
md: don't impose the MD_SB_DISKS limit on arrays without metadata.

These arrays, created with "mdadm --build" don't benefit from a limit.
The default will be used, which is '0' and is interpreted as "don't
impose a limit".

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