summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_linux.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-11-09 12:04:30 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-11 12:42:52 -0800
commit2713fefa5dd511b18ddc73b978273eec3ae08f6d (patch)
tree48d6631278b7e02228ef5fc4046242a71b35fda0 /fs/xfs/xfs_linux.h
parent2815a16d7ff6230a8e37928829d221bb075aa160 (diff)
downloadlinux-2713fefa5dd511b18ddc73b978273eec3ae08f6d.tar.bz2
xfs: attach dquots before performing xfs_swap_extents
Make sure we attach dquots to both inodes before swapping their extents. This was found via manual code inspection by looking for places where we could call xfs_trans_mod_dquot without dquots attached to inodes, and confirmed by instrumenting the kernel and running xfs/328. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_linux.h')
0 files changed, 0 insertions, 0 deletions