]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: add IOMAP_REPORT
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Oct 2016 04:51:28 +0000 (15:51 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 20 Oct 2016 04:51:28 +0000 (15:51 +1100)
commit122c50ed08ed4a9b2358c6c6b1cf2687a43858ad
tree9c1a91b8e168edf4ff798ce9d821a55ac76fabef
parent2c75a4dd52bb84822076d1f0c057c78478b639b5
iomap: add IOMAP_REPORT

This allows the file system to tell a FIEMAP from a read operation, and thus
avoids the need to report flags that aren't actually used in the read path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/iomap.c
include/linux/iomap.h