summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-02-23 14:45:28 +0300
committerJens Axboe <axboe@kernel.dk>2018-03-12 19:21:22 +0300
commitc8f4c36f81623002165dce874fa60bb0c154b10e (patch)
tree5a9579be522bfd47e43260f21119a4d239dc43dc /include/linux/fs.h
parentfc9de9a52e993829d928825d05fc9d3f41ce33fa (diff)
downloadlinux-c8f4c36f81623002165dce874fa60bb0c154b10e.tar.xz
direct-io: Remove unused DIO_ASYNC_EXTEND flag
This flag was added by 6039257378e4 ("direct-io: add flag to allow aio writes beyond i_size") to support XFS. However, with the rework of XFS' DIO's path to use iomap in acdda3aae146 ("xfs: use iomap_dio_rw") it became redundant. So let's remove it. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2a815560fda0..260c233e7375 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2977,9 +2977,6 @@ enum {
/* filesystem does not support filling holes */
DIO_SKIP_HOLES = 0x02,
- /* filesystem can handle aio writes beyond i_size */
- DIO_ASYNC_EXTEND = 0x04,
-
/* inode/fs/bdev does not need truncate protection */
DIO_SKIP_DIO_COUNT = 0x08,
};