diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 3 |
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); | |||
2092 | extern void bdput(struct block_device *); | 2092 | extern void bdput(struct block_device *); |
2093 | extern void invalidate_bdev(struct block_device *); | 2093 | extern void invalidate_bdev(struct block_device *); |
2094 | extern int sync_blockdev(struct block_device *bdev); | 2094 | extern int sync_blockdev(struct block_device *bdev); |
2095 | extern void kill_bdev(struct block_device *); | ||
2095 | extern struct super_block *freeze_bdev(struct block_device *); | 2096 | extern struct super_block *freeze_bdev(struct block_device *); |
2096 | extern void emergency_thaw_all(void); | 2097 | extern void emergency_thaw_all(void); |
2097 | extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); | 2098 | extern 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 |
2100 | static inline void bd_forget(struct inode *inode) {} | 2101 | static inline void bd_forget(struct inode *inode) {} |
2101 | static inline int sync_blockdev(struct block_device *bdev) { return 0; } | 2102 | static inline int sync_blockdev(struct block_device *bdev) { return 0; } |
2103 | static inline void kill_bdev(struct block_device *bdev) {} | ||
2102 | static inline void invalidate_bdev(struct block_device *bdev) {} | 2104 | static inline void invalidate_bdev(struct block_device *bdev) {} |
2103 | 2105 | ||
2104 | static inline struct super_block *freeze_bdev(struct block_device *sb) | 2106 | static 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); |
2416 | extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end, | 2418 | extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end, |
2417 | int datasync); | 2419 | int datasync); |
2420 | extern void block_sync_page(struct page *page); | ||
2418 | 2421 | ||
2419 | /* fs/splice.c */ | 2422 | /* fs/splice.c */ |
2420 | extern ssize_t generic_file_splice_read(struct file *, loff_t *, | 2423 | extern ssize_t generic_file_splice_read(struct file *, loff_t *, |