]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
xfs: update incore per-AG inode count
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Jun 2018 04:52:01 +0000 (21:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Jun 2018 04:53:52 +0000 (21:53 -0700)
commit89e9b5c0915aaeaf673a14e794c559768eda5534
tree192f047e8d72bf02127c944d6b9f47c8b930e3f0
parent0703a8e1c17e2cba742eafe640be3b60f77352c4
xfs: update incore per-AG inode count

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>
fs/xfs/libxfs/xfs_ialloc.c