iomap: add a IOMAP_DIO_OVERWRITE_ONLY flag
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Jan 2021 18:06:10 +0000 (10:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 18:22:12 +0000 (10:22 -0800)
commit213f627104daf8589aad8ee73fcaeb603ab0af15
tree78077f4f6fd6915e09d9c3aba35c7214ae9583f8
parent2f63296578cad1ae681152d5b2122a4595195f16
iomap: add a IOMAP_DIO_OVERWRITE_ONLY flag

Add a flag to signal that only pure overwrites are allowed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/direct-io.c
include/linux/iomap.h