xfs: detach inode dquots at the end of inactivation
authorDarrick J. Wong <djwong@kernel.org>
Mon, 31 May 2021 18:31:57 +0000 (11:31 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 3 Jun 2021 22:56:02 +0000 (15:56 -0700)
commit3ea06d73e3c02ee2952a62bf92abc18f9c98aba1
tree1e797f2b91b0b400ee735330a155ef64fa9099d9
parent1ad2cfe0a57031505df682dc1e26922d9d43737f
xfs: detach inode dquots at the end of inactivation

Once we're done with inactivating an inode, we're finished updating
metadata for that inode.  This means that we can detach the dquots at
the end and not have to wait for reclaim to do it for us.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c