]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdopen.c
mdopen: only use 'dev' as chosen name if it is a full path.
authorNeilBrown <neilb@suse.de>
Mon, 19 Oct 2009 06:11:15 +0000 (17:11 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 19 Oct 2009 06:11:15 +0000 (17:11 +1100)
commit5ac6db12f9f970f26b7017517789bac200631b11
tree60b21560c5b4f11eb27fa6919fc85979d0852231
parent8a0a0ded4af12be6db97abba7551923da3bcf8c9
mdopen: only use 'dev' as chosen name if it is a full path.

Otherwise using names like "r0" causes problem.  They are
handled sufficiently by other paths in the code.

Signed-off-by: NeilBrown <neilb@suse.de>
mdopen.c