aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index e0569e4ab2d5..b224dc468a23 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2423,6 +2423,10 @@ static inline ssize_t blockdev_direct_IO(int rw, struct kiocb *iocb,
2423 offset, nr_segs, get_block, NULL, NULL, 2423 offset, nr_segs, get_block, NULL, NULL,
2424 DIO_LOCKING | DIO_SKIP_HOLES); 2424 DIO_LOCKING | DIO_SKIP_HOLES);
2425} 2425}
2426#else
2427static inline void inode_dio_wait(struct inode *inode)
2428{
2429}
2426#endif 2430#endif
2427 2431
2428extern const struct file_operations generic_ro_fops; 2432extern const struct file_operations generic_ro_fops;