mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Revert "pvck: check result of dev_get_size"
This reverts commit 1f4968289c
.
fixes folded into subsequent pvck commit
This commit is contained in:
parent
4485b8edca
commit
39bd9b111b
@ -1455,8 +1455,7 @@ static int _dump_search(struct cmd_context *cmd,
|
||||
uint64_t dev_bytes;
|
||||
uint64_t extra_bytes;
|
||||
|
||||
if (!dev_get_size(dev, &dev_sectors))
|
||||
return_ECMD_FAILED;
|
||||
dev_get_size(dev, &dev_sectors);
|
||||
|
||||
dev_bytes = dev_sectors * 512;
|
||||
extra_bytes = dev_bytes % ONE_MB_IN_BYTES;
|
||||
|
Loading…
Reference in New Issue
Block a user