]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] dm: missing bdput/thaw_bdev at removal
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Fri, 24 Feb 2006 21:04:24 +0000 (13:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Feb 2006 22:31:39 +0000 (14:31 -0800)
commitd3ce80f83bde7ab17680a97af24a7816992f5484
tree5a56884f1e380906ad41cc257891f93ff6cb2cb5
parent49405557decae3b8ee0c23ed3491325d98acd43a
[PATCH] dm: missing bdput/thaw_bdev at removal

Need to unfreeze and release bdev otherwise the bdev inode with
inconsistent state is reused later and cause problem.

Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Acked-by: Alasdair G Kergon <agk@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm.c