diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-19 03:24:37 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-09-19 03:24:37 +0200 |
commit | ecd50729f772f0b982ddbb76c16ee4bc8f495e17 (patch) | |
tree | 731e4b75b21a1f1fff2c1c1718dde8f690ba8fae /fs/xfs/xfs_iomap.c | |
parent | xfs: rewrite and optimize the delalloc write path (diff) | |
download | linux-ecd50729f772f0b982ddbb76c16ee4bc8f495e17.tar.xz linux-ecd50729f772f0b982ddbb76c16ee4bc8f495e17.zip |
iomap: add IOMAP_F_NEW flag
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index f96c8ffce5f4..ac677d032e3a 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -1000,6 +1000,7 @@ xfs_file_iomap_begin( if (error) return error; + iomap->flags = IOMAP_F_NEW; trace_xfs_iomap_alloc(ip, offset, length, 0, &imap); } else { ASSERT(nimaps); |