]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: update incore per-AG inode count
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 28 Jun 2018 20:11:59 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Jun 2018 20:11:59 +0000 (15:11 -0500)
commita3204ee74600ed275a1f322e30f15734b8a3c52b
treeee4f6769de0154f24db3f05e8e5fc58fd6f3e378
parent5a595099b7368a30e1bce37b1a1028fecb92aca6
xfs: update incore per-AG inode count

Source kernel commit: 89e9b5c0915aaeaf673a14e794c559768eda5534

For whatever reason we never actually update pagi_count (the in-core
perag inode count) when we allocate or free inode chunks.  Online scrub
is going to use it, so we need to fix the accounting.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_ialloc.c