* grub-core/fs/nilfs2.c (grub_nilfs2_palloc_entry_offset_log):

Fix argument to grub_nilfs2_palloc_bitmap_block_offset.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-04-26 12:49:35 +02:00
parent b282dfe5ac
commit 5cb5387977
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-04-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/nilfs2.c (grub_nilfs2_palloc_entry_offset_log):
Fix argument to grub_nilfs2_palloc_bitmap_block_offset.
2012-04-25 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/squash4.c (lzo_decompress): Set grub_errno on error.

View file

@ -377,7 +377,7 @@ grub_nilfs2_palloc_entry_offset_log (struct grub_nilfs2_data *data,
group = grub_nilfs2_palloc_group (data, nr, &group_offset);
return grub_nilfs2_palloc_bitmap_block_offset (data, group,
1 << log_entry_size) + 1 +
log_entry_size) + 1 +
(group_offset >> grub_nilfs2_log_entries_per_block_log (data,
log_entry_size));