]> err.no Git - linux-2.6/commit
[PATCH] device-mapper: store bdev while frozen
authorAlasdair G Kergon <agk@redhat.com>
Thu, 5 May 2005 23:16:03 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:45 +0000 (16:36 -0700)
commitd1782a3b0a15d9ac497a8f47931c4536bfe8d18e
tree76ce9caa1d4c4a1b34ee060fa9f165385a9f1a7e
parentd17d7fa44dbe1f12031773e27eda9e939024a037
[PATCH] device-mapper: store bdev while frozen

Store the struct block_device while device is frozen, saving us one call to
bdget_disk().

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
From: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm.c