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 81b4e2d048e5fced0bd02c758c110e5d57a2cdbd..88064ed1938788f6e623cd70c784f502a3bdeefa 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;