mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[PATCH] pass fmode_t to blkdev_put()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
511de73ff0
commit
9a1c354276
14 changed files with 38 additions and 38 deletions
|
|
@ -152,7 +152,7 @@ void dasd_destroy_partitions(struct dasd_block *block)
|
|||
|
||||
invalidate_partition(block->gdp, 0);
|
||||
/* Matching blkdev_put to the blkdev_get in dasd_scan_partitions. */
|
||||
blkdev_put(bdev);
|
||||
blkdev_put(bdev, FMODE_READ);
|
||||
set_capacity(block->gdp, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue