summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/volume_id/volume_id/ocfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/volume_id/ocfs.c b/extras/volume_id/volume_id/ocfs.c
index 81b4e2d048..88064ed193 100644
--- a/extras/volume_id/volume_id/ocfs.c
+++ b/extras/volume_id/volume_id/ocfs.c
@@ -172,7 +172,7 @@ int volume_id_probe_ocfs2(struct volume_id *id, uint64_t off)
dbg("probing at offset 0x%llx", (unsigned long long) off);
- for (blksize = 0x200; blksize <= OCFS2_MAX_BLOCKSIZE; blksize >>= 1) {
+ for (blksize = 0x200; blksize <= OCFS2_MAX_BLOCKSIZE; blksize <<= 1) {
buf = volume_id_get_buffer(id, off + OCFS2_SUPER_BLOCK_BLKNO * blksize, 0x200);
if (buf == NULL)
return -1;