chiark / gitweb /
volume_id: fix typo in ocfs
authorKay Sievers <kay@pim>
Sun, 23 Oct 2005 16:55:22 +0000 (18:55 +0200)
committerKay Sievers <kay@pim>
Sun, 23 Oct 2005 16:55:22 +0000 (18:55 +0200)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
extras/volume_id/volume_id/ocfs.c

index 81b4e2d..88064ed 100644 (file)
@@ -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;