https://github.com/torvalds/linux
Revision 0232605d987d8230b254aa139805bbb56a7ca30c authored by NeilBrown on 03 July 2012, 05:56:52 UTC, committed by NeilBrown on 03 July 2012, 05:56:52 UTC
Having the 'name' arg optional and defaulting to the current
personality name is no necessary and leads to errors, as when
changing the level of an array we can end up using the
name of the old level instead of the new one.

So make it non-optional and always explicitly pass the name
of the level that the array will be.

Reported-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
1 parent 055d374
History
Tip revision: 0232605d987d8230b254aa139805bbb56a7ca30c authored by NeilBrown on 03 July 2012, 05:56:52 UTC
md: make 'name' arg to md_register_thread non-optional.
Tip revision: 0232605
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 208.2 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top