diff options
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 0a8b0ad0c7e2..2e6501d034ab 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c | |||
@@ -549,7 +549,7 @@ void register_disk(struct gendisk *disk) | |||
549 | goto exit; | 549 | goto exit; |
550 | 550 | ||
551 | bdev->bd_invalidated = 1; | 551 | bdev->bd_invalidated = 1; |
552 | err = blkdev_get(bdev, FMODE_READ); | 552 | err = blkdev_get(bdev, FMODE_READ, NULL); |
553 | if (err < 0) | 553 | if (err < 0) |
554 | goto exit; | 554 | goto exit; |
555 | blkdev_put(bdev, FMODE_READ); | 555 | blkdev_put(bdev, FMODE_READ); |