summaryrefslogtreecommitdiff
path: root/extras/volume_id
diff options
context:
space:
mode:
authorKay Sievers <kay@pim>2005-10-23 18:55:22 +0200
committerKay Sievers <kay@pim>2005-10-23 18:55:22 +0200
commitb5866871385be4e4ad170dca40f5e2b1c6666694 (patch)
tree762477404ea47d6ed9969e3bd87db4db58e1c22c /extras/volume_id
parentf3c14c68499d318b2beb56cee7c5f88f2c04dc62 (diff)
volume_id: fix typo in ocfs
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'extras/volume_id')
-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;