xfs: clean up xfs_inactive
authorChristoph Hellwig <hch@infradead.org>
Wed, 4 Jul 2012 15:13:29 +0000 (11:13 -0400)
committerBen Myers <bpm@sgi.com>
Sun, 29 Jul 2012 21:13:09 +0000 (16:13 -0500)
commitb373e98daa70d7ddb10f53f81e711c4d17651795
tree88efafe921aadda455f842347bf06ff108f0a08e
parentbe60fe54b216a62403b816d3930a66ad7c51cbc6
xfs: clean up xfs_inactive

The code to reserve log space and join the inode to the transaction is
common for all cases, so don't duplicate it.  Also remove the trivial
xfs_inactive_symlink_local helper which can simply be opencode now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_vnodeops.c