summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/ocfs.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-07-25 14:59:50 +0200
committerKay Sievers <kay.sievers@suse.de>2006-07-25 14:59:50 +0200
commitcdf18948639e56d2e3c71606c72e2f2d239c100b (patch)
tree156a00e8c63b093928b611c17cfd1dfbfaf96353 /extras/volume_id/lib/ocfs.c
parentb437ec958a505c057870c40bf668d8692d60dc3a (diff)
libvolume_id: add parameter 'size' to all probe functions
Diffstat (limited to 'extras/volume_id/lib/ocfs.c')
-rw-r--r--extras/volume_id/lib/ocfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/lib/ocfs.c b/extras/volume_id/lib/ocfs.c
index bf311415dd..349527b7e0 100644
--- a/extras/volume_id/lib/ocfs.c
+++ b/extras/volume_id/lib/ocfs.c
@@ -126,7 +126,7 @@ struct ocfs2_super_block {
uint8_t s_uuid[16];
} PACKED;
-int volume_id_probe_ocfs1(struct volume_id *id, uint64_t off)
+int volume_id_probe_ocfs1(struct volume_id *id, uint64_t off, uint64_t size)
{
const uint8_t *buf;
struct ocfs1_super_block_header *osh;
@@ -164,7 +164,7 @@ int volume_id_probe_ocfs1(struct volume_id *id, uint64_t off)
#define OCFS2_MAX_BLOCKSIZE 0x1000
#define OCFS2_SUPER_BLOCK_BLKNO 2
-int volume_id_probe_ocfs2(struct volume_id *id, uint64_t off)
+int volume_id_probe_ocfs2(struct volume_id *id, uint64_t off, uint64_t size)
{
const uint8_t *buf;
struct ocfs2_super_block *os;