]> git.baikalelectronics.ru Git - 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)
commit86f1cf471fc2522b9b80eb649b25580e4b6780c6
tree192f047e8d72bf02127c944d6b9f47c8b930e3f0
parent4a330315c420a552bd986205847492cbb995c0b3
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