mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2011-03-07 Szymon Janc <szymon@janc.net.pl>
* grub-core/fs/zfs/zfs.c (zap_leaf_lookup): Set-but-not-used variable removed.
This commit is contained in:
1 parent
028501a0e0
commit
57d75699d6
2 files changed
+5
-2
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2011-03-07 Szymon Janc <szymon@janc.net.pl>
|
||||||
|
|
||||||
|
* grub-core/fs/zfs/zfs.c (zap_leaf_lookup):
|
||||||
|
Set-but-not-used variable removed.
|
||||||
|
|
||||||
2011-02-12 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-02-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Workaround yet another IEEE1275 bug.
|
Workaround yet another IEEE1275 bug.
|
||||||
|
|||||||
@@ -837,14 +837,12 @@ zap_leaf_lookup (zap_leaf_phys_t * l, grub_zfs_endian_t endian,
|
|||||||
name))
|
name))
|
||||||
{
|
{
|
||||||
struct zap_leaf_array *la;
|
struct zap_leaf_array *la;
|
||||||
grub_uint8_t *ip;
|
|
||||||
|
|
||||||
if (le->le_int_size != 8 || le->le_value_length != 1)
|
if (le->le_int_size != 8 || le->le_value_length != 1)
|
||||||
return grub_error (GRUB_ERR_BAD_FS, "invalid leaf chunk entry");
|
return grub_error (GRUB_ERR_BAD_FS, "invalid leaf chunk entry");
|
||||||
|
|
||||||
/* get the uint64_t property value */
|
/* get the uint64_t property value */
|
||||||
la = &ZAP_LEAF_CHUNK (l, blksft, le->le_value_chunk).l_array;
|
la = &ZAP_LEAF_CHUNK (l, blksft, le->le_value_chunk).l_array;
|
||||||
ip = la->la_array;
|
|
||||||
|
|
||||||
*value = grub_be_to_cpu64 (la->la_array64);
|
*value = grub_be_to_cpu64 (la->la_array64);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user