summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-03-13 23:15:31 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-03-15 10:31:38 -0700
commitc7dbe3f2c41969845b8ea000fc5e025d4987a8fb (patch)
treec32d99879100de9241d7e47ce1d6f0ff05a6f5a4 /fs/xfs/xfs_bmap_util.c
parent7d9df3c1631b0cb7eb4e59c934271adf0ead2f55 (diff)
downloadop-kernel-dev-c7dbe3f2c41969845b8ea000fc5e025d4987a8fb.zip
op-kernel-dev-c7dbe3f2c41969845b8ea000fc5e025d4987a8fb.tar.gz
xfs: assert that xfs_reflink_allocate_cow is called with XFS_ILOCK_EXCL
Now that we convert COW preallocations from unwritten to real on every call this function needs to be called with the ilock held exclusively. Fortunately we already do that, but update the assert to match. 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>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud