aboutsummaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-11-03 15:14:39 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-11-03 15:14:39 -0500
commit2058297d2d045cb57138c33b87cfabcc80e65186 (patch)
tree7ccffd0e162cbd7471f643561e79f23abb989a62 /fs/block_dev.c
parent150e6c67f4bf6ab51e62defc41bd19a2eefe5709 (diff)
parent4b27e1bb442e964903f8a3fa6bdf33a602dc0941 (diff)
Merge branch 'for-linus' into for-2.6.33
Conflicts: block/cfq-iosched.c Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r--fs/block_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index dde91e7e1c3a..73d6a735b8f3 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -1258,8 +1258,8 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part)
1258 bd_set_size(bdev, (loff_t)bdev->bd_part->nr_sects << 9); 1258 bd_set_size(bdev, (loff_t)bdev->bd_part->nr_sects << 9);
1259 } 1259 }
1260 } else { 1260 } else {
1261 put_disk(disk);
1262 module_put(disk->fops->owner); 1261 module_put(disk->fops->owner);
1262 put_disk(disk);
1263 disk = NULL; 1263 disk = NULL;
1264 if (bdev->bd_contains == bdev) { 1264 if (bdev->bd_contains == bdev) {
1265 if (bdev->bd_disk->fops->open) { 1265 if (bdev->bd_disk->fops->open) {