projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'efi_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
fs
/
pstore
/
blk.c
diff --git
a/fs/pstore/blk.c
b/fs/pstore/blk.c
index
882d0bc
..
4bb8a34
100644
(file)
--- a/
fs/pstore/blk.c
+++ b/
fs/pstore/blk.c
@@
-244,7
+244,7
@@
static struct block_device *psblk_get_bdev(void *holder,
return bdev;
}
- nr_sects =
part_nr_sects_read(bdev->bd_part
);
+ nr_sects =
bdev_nr_sectors(bdev
);
if (!nr_sects) {
pr_err("not enough space for '%s'\n", blkdev);
blkdev_put(bdev, mode);