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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index cec429d76ab0..e853ba5eddd4 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2092,6 +2092,7 @@ extern void bd_forget(struct inode *inode);
2092extern void bdput(struct block_device *); 2092extern void bdput(struct block_device *);
2093extern void invalidate_bdev(struct block_device *); 2093extern void invalidate_bdev(struct block_device *);
2094extern int sync_blockdev(struct block_device *bdev); 2094extern int sync_blockdev(struct block_device *bdev);
2095extern void kill_bdev(struct block_device *);
2095extern struct super_block *freeze_bdev(struct block_device *); 2096extern struct super_block *freeze_bdev(struct block_device *);
2096extern void emergency_thaw_all(void); 2097extern void emergency_thaw_all(void);
2097extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); 2098extern int thaw_bdev(struct block_device *bdev, struct super_block *sb);
@@ -2099,6 +2100,7 @@ extern int fsync_bdev(struct block_device *);
2099#else 2100#else
2100static inline void bd_forget(struct inode *inode) {} 2101static inline void bd_forget(struct inode *inode) {}
2101static inline int sync_blockdev(struct block_device *bdev) { return 0; } 2102static inline int sync_blockdev(struct block_device *bdev) { return 0; }
2103static inline void kill_bdev(struct block_device *bdev) {}
2102static inline void invalidate_bdev(struct block_device *bdev) {} 2104static inline void invalidate_bdev(struct block_device *bdev) {}
2103 2105
2104static inline struct super_block *freeze_bdev(struct block_device *sb) 2106static inline struct super_block *freeze_bdev(struct block_device *sb)
@@ -2415,6 +2417,7 @@ extern ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov,
2415 unsigned long nr_segs, loff_t pos); 2417 unsigned long nr_segs, loff_t pos);
2416extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end, 2418extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end,
2417 int datasync); 2419 int datasync);
2420extern void block_sync_page(struct page *page);
2418 2421
2419/* fs/splice.c */ 2422/* fs/splice.c */
2420extern ssize_t generic_file_splice_read(struct file *, loff_t *, 2423extern ssize_t generic_file_splice_read(struct file *, loff_t *,