summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-20 11:38:01 +1000
committerDave Chinner <david@fromorbit.com>2016-07-20 11:38:01 +1000
commitfa8d972d055c723cc427e14d4d7919640f418730 (patch)
treebc369f3712fa66d86563a42344282d2ce9aa08a9 /fs/xfs/xfs_aops.h
parentf1285ff0acf9040a39921355d07bd83a3308c402 (diff)
downloadlinux-fa8d972d055c723cc427e14d4d7919640f418730.tar.gz
linux-fa8d972d055c723cc427e14d4d7919640f418730.tar.bz2
linux-fa8d972d055c723cc427e14d4d7919640f418730.zip
xfs: direct calls in the direct I/O path
We control both the callers and callees of ->direct_IO, so remove the indirect calls. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_aops.h')
-rw-r--r--fs/xfs/xfs_aops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_aops.h b/fs/xfs/xfs_aops.h
index 814aab790713..bf2d9a141a73 100644
--- a/fs/xfs/xfs_aops.h
+++ b/fs/xfs/xfs_aops.h
@@ -60,6 +60,9 @@ int xfs_get_blocks_direct(struct inode *inode, sector_t offset,
int xfs_get_blocks_dax_fault(struct inode *inode, sector_t offset,
struct buffer_head *map_bh, int create);
+int xfs_end_io_direct_write(struct kiocb *iocb, loff_t offset,
+ ssize_t size, void *private);
+
extern void xfs_count_page_state(struct page *, int *, int *);
extern struct block_device *xfs_find_bdev_for_inode(struct inode *);