[PATCH] md: don't allow new md/bitmap file to be set if one already exists
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 9 Sep 2005 23:23:43 +0000 (16:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 23:39:09 +0000 (16:39 -0700)
commit1923b99a0f4748aa6be0b9b9523ce224a3449b17
tree708b1546c179e7d6fc31213528d32f4ab4ff13a8
parent844e8d904a7c1446e3f040683b4a0645c3eb168f
[PATCH] md: don't allow new md/bitmap file to be set if one already exists

... otherwise we loose a reference and can never free the file.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c