chiark / gitweb /
Make run_directory.c stat the place it is going to try to run.
[elogind.git] / 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;