diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 18:11:32 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-05 03:06:40 +0200 |
commit | be51f8119c2f5e27437d2c4271f6419f3b8e609f (patch) | |
tree | fef093b1788635388760f3a9ea3ba44f51889361 /fs/xfs/xfs_iomap.c | |
parent | xfs: introduce the CoW fork (diff) | |
download | linux-be51f8119c2f5e27437d2c4271f6419f3b8e609f.tar.xz linux-be51f8119c2f5e27437d2c4271f6419f3b8e609f.zip |
xfs: support bmapping delalloc extents in the CoW fork
Allow the creation of delayed allocation extents in the CoW fork. In
a subsequent patch we'll wire up iomap_begin to actually do this via
reflink helper functions.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index c08253e11545..59c7beb48ef6 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -609,7 +609,7 @@ xfs_file_iomap_begin_delay( } retry: - error = xfs_bmapi_reserve_delalloc(ip, offset_fsb, + error = xfs_bmapi_reserve_delalloc(ip, XFS_DATA_FORK, offset_fsb, end_fsb - offset_fsb, &got, &prev, &idx, eof); switch (error) { |