diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-11-27 13:49:18 -0500 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-11-27 13:49:18 -0500 |
commit | f30195c50245d8ace628e1978b1daa8df86e7224 (patch) | |
tree | edf4f91c4356c41d50fb07f15cebd1e6442538ad /fs/partitions/check.c | |
parent | d07335e51df0c6dec202d315fc4f1f7e100eec4e (diff) | |
parent | d4d77629953eabd3c14f6fa5746f6b28babfc55f (diff) |
Merge branch 'cleanup-bd_claim' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc into for-2.6.38/core
Diffstat (limited to 'fs/partitions/check.c')
-rw-r--r-- | fs/partitions/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index 12213f7ce7a2..bdf8d3cc95a4 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c | |||
@@ -558,7 +558,7 @@ void register_disk(struct gendisk *disk) | |||
558 | goto exit; | 558 | goto exit; |
559 | 559 | ||
560 | bdev->bd_invalidated = 1; | 560 | bdev->bd_invalidated = 1; |
561 | err = blkdev_get(bdev, FMODE_READ); | 561 | err = blkdev_get(bdev, FMODE_READ, NULL); |
562 | if (err < 0) | 562 | if (err < 0) |
563 | goto exit; | 563 | goto exit; |
564 | blkdev_put(bdev, FMODE_READ); | 564 | blkdev_put(bdev, FMODE_READ); |