]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/xfs.c (GRUB_XFS_EXTENT_BLOCK): Fix bitmask.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 07:11:32 +0000 (09:11 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 07:11:32 +0000 (09:11 +0200)
ChangeLog
grub-core/fs/xfs.c

index 86f667f506a7bbf3a7db1a8a5b1f50ddfc3043f6..778c824f36f7d55b545de29af577f84d9e19f71d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-03  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/fs/xfs.c (GRUB_XFS_EXTENT_BLOCK): Fix bitmask.
+
 2012-05-03  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/fs/zfs/zfs.c (nvlist_find_value): Fix return value.
index b86e2ed0ab2474a1c7748884c09c776a1510ba21..a3503e652f94df65b63a0a6a3948555a0771b7bf 100644 (file)
@@ -216,7 +216,7 @@ GRUB_XFS_EXTENT_BLOCK (grub_xfs_extent *exts, int ex)
 static inline grub_uint64_t
 GRUB_XFS_EXTENT_SIZE (grub_xfs_extent *exts, int ex)
 {
-  return (grub_be_to_cpu32 (exts[ex][3]) & ((1 << 20) - 1));
+  return (grub_be_to_cpu32 (exts[ex][3]) & ((1 << 21) - 1));
 }
 
 static inline int