From: Vladimir 'phcoder' Serbinenko Date: Thu, 3 May 2012 07:11:32 +0000 (+0200) Subject: * grub-core/fs/xfs.c (GRUB_XFS_EXTENT_BLOCK): Fix bitmask. X-Git-Tag: 2.00~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45c794ab5ecbf478e41d2f2bdb4cadade061232;p=thirdparty%2Fgrub.git * grub-core/fs/xfs.c (GRUB_XFS_EXTENT_BLOCK): Fix bitmask. --- diff --git a/ChangeLog b/ChangeLog index 86f667f50..778c824f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-05-03 Vladimir Serbinenko + + * grub-core/fs/xfs.c (GRUB_XFS_EXTENT_BLOCK): Fix bitmask. + 2012-05-03 Vladimir Serbinenko * grub-core/fs/zfs/zfs.c (nvlist_find_value): Fix return value. diff --git a/grub-core/fs/xfs.c b/grub-core/fs/xfs.c index b86e2ed0a..a3503e652 100644 --- a/grub-core/fs/xfs.c +++ b/grub-core/fs/xfs.c @@ -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