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.h7
1 files changed, 7 insertions, 0 deletions
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);
1874extern void bd_forget(struct inode *inode); 1874extern void bd_forget(struct inode *inode);
1875extern void bdput(struct block_device *); 1875extern void bdput(struct block_device *);
1876extern struct block_device *open_by_devnum(dev_t, fmode_t); 1876extern struct block_device *open_by_devnum(dev_t, fmode_t);
1877extern void invalidate_bdev(struct block_device *);
1878extern int sync_blockdev(struct block_device *bdev);
1879extern struct super_block *freeze_bdev(struct block_device *);
1880extern int thaw_bdev(struct block_device *bdev, struct super_block *sb);
1881extern int fsync_bdev(struct block_device *);
1882extern int fsync_super(struct super_block *);
1883extern int fsync_no_super(struct block_device *);
1877#else 1884#else
1878static inline void bd_forget(struct inode *inode) {} 1885static inline void bd_forget(struct inode *inode) {}
1879#endif 1886#endif