xfs: refactor inode unlinked pointer update functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 7 Feb 2019 18:37:15 +0000 (10:37 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Feb 2019 00:07:01 +0000 (16:07 -0800)
commitf2fc16a3d7c12224d4c19055fef40ca6379b2045
treef066cd098e91aa7524e4a328a08fbe7f599e094b
parent86bfd3750fb3070932ae2da4cb5b9ae743c13f99
xfs: refactor inode unlinked pointer update functions

Hoist the functions that update an inode's unlinked pointer updates into
a helper.  No functional changes.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_trace.h