]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0fd890b82e9fca68a98a1334a8113a977233bed
tree1e797f2b91b0b400ee735330a155ef64fa9099d9
parent4629a1abff0a837aec91625ec4eaaad23699e105
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