mirror of https://github.com/vitalif/e2fsprogs
Add missing shift for ei_leaf_hi
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>bitmap-optimize
parent
d46d67a845
commit
e6bbc002c5
|
@ -399,7 +399,7 @@ retry:
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
blk = ext2fs_le32_to_cpu(ix->ei_leaf) +
|
blk = ext2fs_le32_to_cpu(ix->ei_leaf) +
|
||||||
((__u64) ext2fs_le16_to_cpu(ix->ei_leaf_hi));
|
((__u64) ext2fs_le16_to_cpu(ix->ei_leaf_hi) << 32);
|
||||||
if ((handle->fs->flags & EXT2_FLAG_IMAGE_FILE) &&
|
if ((handle->fs->flags & EXT2_FLAG_IMAGE_FILE) &&
|
||||||
(handle->fs->io != handle->fs->image_io))
|
(handle->fs->io != handle->fs->image_io))
|
||||||
memset(newpath->buf, 0, handle->fs->blocksize);
|
memset(newpath->buf, 0, handle->fs->blocksize);
|
||||||
|
|
Loading…
Reference in New Issue