diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/buffer_head.h | 7 | ||||
-rw-r--r-- | include/linux/fs.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index bd7ac793be19..f19fd9045ea0 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h | |||
@@ -165,15 +165,8 @@ int sync_mapping_buffers(struct address_space *mapping); | |||
165 | void unmap_underlying_metadata(struct block_device *bdev, sector_t block); | 165 | void unmap_underlying_metadata(struct block_device *bdev, sector_t block); |
166 | 166 | ||
167 | void mark_buffer_async_write(struct buffer_head *bh); | 167 | void mark_buffer_async_write(struct buffer_head *bh); |
168 | void invalidate_bdev(struct block_device *); | ||
169 | int sync_blockdev(struct block_device *bdev); | ||
170 | void __wait_on_buffer(struct buffer_head *); | 168 | void __wait_on_buffer(struct buffer_head *); |
171 | wait_queue_head_t *bh_waitq_head(struct buffer_head *bh); | 169 | wait_queue_head_t *bh_waitq_head(struct buffer_head *bh); |
172 | int fsync_bdev(struct block_device *); | ||
173 | struct super_block *freeze_bdev(struct block_device *); | ||
174 | int thaw_bdev(struct block_device *, struct super_block *); | ||
175 | int fsync_super(struct super_block *); | ||
176 | int fsync_no_super(struct block_device *); | ||
177 | struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block, | 170 | struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block, |
178 | unsigned size); | 171 | unsigned size); |
179 | struct buffer_head *__getblk(struct block_device *bdev, sector_t block, | 172 | struct buffer_head *__getblk(struct block_device *bdev, sector_t block, |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 5f74d616cd7d..c2c4454a268a 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1874,6 +1874,13 @@ extern void bd_set_size(struct block_device *, loff_t size); | |||
1874 | extern void bd_forget(struct inode *inode); | 1874 | extern void bd_forget(struct inode *inode); |
1875 | extern void bdput(struct block_device *); | 1875 | extern void bdput(struct block_device *); |
1876 | extern struct block_device *open_by_devnum(dev_t, fmode_t); | 1876 | extern struct block_device *open_by_devnum(dev_t, fmode_t); |
1877 | extern void invalidate_bdev(struct block_device *); | ||
1878 | extern int sync_blockdev(struct block_device *bdev); | ||
1879 | extern struct super_block *freeze_bdev(struct block_device *); | ||
1880 | extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); | ||
1881 | extern int fsync_bdev(struct block_device *); | ||
1882 | extern int fsync_super(struct super_block *); | ||
1883 | extern int fsync_no_super(struct block_device *); | ||
1877 | #else | 1884 | #else |
1878 | static inline void bd_forget(struct inode *inode) {} | 1885 | static inline void bd_forget(struct inode *inode) {} |
1879 | #endif | 1886 | #endif |