diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-07-25 14:59:50 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-07-25 14:59:50 +0200 |
commit | cdf18948639e56d2e3c71606c72e2f2d239c100b (patch) | |
tree | 156a00e8c63b093928b611c17cfd1dfbfaf96353 /extras/volume_id/lib/lvm.c | |
parent | b437ec958a505c057870c40bf668d8692d60dc3a (diff) |
libvolume_id: add parameter 'size' to all probe functions
Diffstat (limited to 'extras/volume_id/lib/lvm.c')
-rw-r--r-- | extras/volume_id/lib/lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/lib/lvm.c b/extras/volume_id/lib/lvm.c index 727204280b..9c83c55307 100644 --- a/extras/volume_id/lib/lvm.c +++ b/extras/volume_id/lib/lvm.c @@ -41,7 +41,7 @@ struct lvm2_super_block { #define LVM1_SB_OFF 0x400 #define LVM1_MAGIC "HM" -int volume_id_probe_lvm1(struct volume_id *id, uint64_t off) +int volume_id_probe_lvm1(struct volume_id *id, uint64_t off, uint64_t size) { const uint8_t *buf; struct lvm1_super_block *lvm; @@ -66,7 +66,7 @@ int volume_id_probe_lvm1(struct volume_id *id, uint64_t off) #define LVM2_LABEL_ID "LABELONE" #define LVM2LABEL_SCAN_SECTORS 4 -int volume_id_probe_lvm2(struct volume_id *id, uint64_t off) +int volume_id_probe_lvm2(struct volume_id *id, uint64_t off, uint64_t size) { const uint8_t *buf; unsigned int soff; |