]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7eac5eb9fa0e079058cdd18b801e622bcd552342
tree78077f4f6fd6915e09d9c3aba35c7214ae9583f8
parent7d16d6cde5d4bae3d7fba60c50ed5cd63c772295
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