git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8d966e
)
md: fix error path when duplicate name is found on md device creation.
author
NeilBrown
<neilb@suse.de>
Wed, 1 Jul 2009 02:27:21 +0000
(12:27 +1000)
committer
NeilBrown
<neilb@suse.de>
Wed, 1 Jul 2009 02:27:21 +0000
(12:27 +1000)
When an md device is created by name (rather than number) we need to
check that the name is not already in use. If this check finds a
duplicate, we return an error without dropping the lock or freeing
the newly create mddev.
This patch fixes that.
Cc: stable@kernel.org
Found-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
patch
|
blob
|
history
diff --cc
drivers/md/md.c
Simple merge