|
@@ -2058,6 +2058,7 @@ extern struct super_block *freeze_bdev(struct block_device *);
|
|
extern void emergency_thaw_all(void);
|
|
extern void emergency_thaw_all(void);
|
|
extern int thaw_bdev(struct block_device *bdev, struct super_block *sb);
|
|
extern int thaw_bdev(struct block_device *bdev, struct super_block *sb);
|
|
extern int fsync_bdev(struct block_device *);
|
|
extern int fsync_bdev(struct block_device *);
|
|
|
|
+extern int sb_is_blkdev_sb(struct super_block *sb);
|
|
#else
|
|
#else
|
|
static inline void bd_forget(struct inode *inode) {}
|
|
static inline void bd_forget(struct inode *inode) {}
|
|
static inline int sync_blockdev(struct block_device *bdev) { return 0; }
|
|
static inline int sync_blockdev(struct block_device *bdev) { return 0; }
|
|
@@ -2077,6 +2078,11 @@ static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb)
|
|
static inline void iterate_bdevs(void (*f)(struct block_device *, void *), void *arg)
|
|
static inline void iterate_bdevs(void (*f)(struct block_device *, void *), void *arg)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+static inline int sb_is_blkdev_sb(struct super_block *sb)
|
|
|
|
+{
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
extern int sync_filesystem(struct super_block *);
|
|
extern int sync_filesystem(struct super_block *);
|
|
extern const struct file_operations def_blk_fops;
|
|
extern const struct file_operations def_blk_fops;
|