]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/direct-io.c
direct-io: add flag to allow aio writes beyond i_size
authorChristoph Hellwig <hch@infradead.org>
Sun, 9 Feb 2014 23:27:11 +0000 (10:27 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 9 Feb 2014 23:27:11 +0000 (10:27 +1100)
commit6039257378e4c84da06e68230b14fef955508ce6
tree87f5681b75c36d4b6d395f92a82ffe7b1b1dde5a
parent38dbfb59d1175ef458d006556061adeaa8751b72
direct-io: add flag to allow aio writes beyond i_size

Some filesystems can handle direct I/O writes beyond i_size safely,
so allow them to opt into receiving them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/direct-io.c
include/linux/fs.h