diff options
author | 2018-05-09 07:49:09 -0700 | |
---|---|---|
committer | 2018-05-10 08:56:46 -0700 | |
commit | c5295c6aad536ba7c257016632792f3031c21182 (patch) | |
tree | 787e7454da892c8cd9db50d9f3838c160141a0cd /fs/xfs/xfs_trans_inode.c | |
parent | xfs: fix double ijoin in xfs_inactive_symlink_rmt() (diff) | |
download | linux-dev-c5295c6aad536ba7c257016632792f3031c21182.tar.xz linux-dev-c5295c6aad536ba7c257016632792f3031c21182.zip |
xfs: fix double ijoin in xfs_reflink_cancel_cow_range
xfs_reflink_cancel_cow_range joins an inode twice to the same
transaction. This is not allowed, so fix it and document that the
callers of xfs_reflink_cancel_cow_blocks() must have already joined the
inode to the permanent transaction passed in.
Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
[darrick: edited the commit log to remove trace for nonexistent ASSERT]
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_trans_inode.c')
0 files changed, 0 insertions, 0 deletions