OSDN Git Service

direct-io: Remove unused DIO_ASYNC_EXTEND flag
authorNikolay Borisov <nborisov@suse.com>
Fri, 23 Feb 2018 11:45:28 +0000 (13:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Mar 2018 16:21:22 +0000 (10:21 -0600)
commitc8f4c36f81623002165dce874fa60bb0c154b10e
tree5a9579be522bfd47e43260f21119a4d239dc43dc
parentfc9de9a52e993829d928825d05fc9d3f41ce33fa
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>
fs/direct-io.c
include/linux/fs.h