commit | ecd50729f772f0b982ddbb76c16ee4bc8f495e17 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Sep 19 11:24:37 2016 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Mon Sep 19 11:24:37 2016 +1000 |
tree | 731e4b75b21a1f1fff2c1c1718dde8f690ba8fae | |
parent | 51446f5ba44874db4d2a93a6eb61b133e5ec1b3e [diff] [blame] |
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>
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index f96c8ff..ac677d0 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c
@@ -1000,6 +1000,7 @@ if (error) return error; + iomap->flags = IOMAP_F_NEW; trace_xfs_iomap_alloc(ip, offset, length, 0, &imap); } else { ASSERT(nimaps);