summaryrefslogtreecommitdiffstats
path: root/firmware/WHENCE
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-07-01 12:27:21 +1000
committerNeilBrown <neilb@suse.de>2009-07-01 12:27:21 +1000
commit1ec22eb2b4a2e1a763106bce36b11c02eaa84e61 (patch)
tree2aa6e6539342a28263417f6a2f2551d541e9ead9 /firmware/WHENCE
parentb8d966efd9a46a9a35beac50cbff6e30565125ef (diff)
downloadblackbird-op-linux-1ec22eb2b4a2e1a763106bce36b11c02eaa84e61.tar.gz
blackbird-op-linux-1ec22eb2b4a2e1a763106bce36b11c02eaa84e61.zip
md: fix error path when duplicate name is found on md device creation.
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>
Diffstat (limited to 'firmware/WHENCE')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud