commit | 411350df14a3d6f1c769ea64a8b43a71f8d9760e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Aug 28 10:21:03 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Sep 01 10:55:30 2017 -0700 |
tree | 6ce47a2df6894777f7147bbc4fee7fca6e9fcc34 | |
parent | f2e9ad212def50bcf4c098c6288779dd97fff0f0 [diff] |
xfs: refactor xfs_trans_roll Split xfs_trans_roll into a low-level helper that just rolls the actual transaction and a new higher level xfs_trans_roll_inode that takes care of logging and rejoining the inode. This gets rid of the NULL inode case, and allows to simplify the special cases in the deferred operation code. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>