]> 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)
commitd33fd776f992332be110f6ceca6dad60cb5d513f
tree9c1a91b8e168edf4ff798ce9d821a55ac76fabef
parent5faaf4fa0a20d38edc4df57baf24ea35b7e91178
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