]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: fix endian mishap in xfs_dialloc_ag()
authorEric Sandeen <sandeen@redhat.com>
Wed, 29 Oct 2014 05:32:54 +0000 (16:32 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 29 Oct 2014 05:32:54 +0000 (16:32 +1100)
commit3e1e6f8409798805627712dbb1659d37e3ea7d3d
tree8a69a0ff7a207d0b6a6bbe6201c626a5eb0387bc
parent5b547f3b3e461194e2db303e5527d363b703b2dd
libxfs: fix endian mishap in xfs_dialloc_ag()

Fixes a regression introduced by:

88fc730 xfs: use and update the finobt on inode allocation

which passed the non-swapped version of agi->agi_newino to
xfs_inobt_lookup()

Caught by make C=2, ftw!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_ialloc.c