X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Ffs.h;h=61da2f1c80569eeca4fca6aee5aad9d31c69f424;hb=a8855990e382fc81c04187c5fdb48743307baf32;hp=65c2be22b601cc40c17b175e4a88f8980979cc62;hpb=dcfdc28f300380ad31033aa0bfb8cf80f23c453a;p=~andy%2Flinux diff --git a/include/linux/fs.h b/include/linux/fs.h index 65c2be22b60..61da2f1c805 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2058,6 +2058,7 @@ extern struct super_block *freeze_bdev(struct block_device *); extern void emergency_thaw_all(void); extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); extern int fsync_bdev(struct block_device *); +extern int sb_is_blkdev_sb(struct super_block *sb); #else static inline void bd_forget(struct inode *inode) {} 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 int sb_is_blkdev_sb(struct super_block *sb) +{ + return 0; +} #endif extern int sync_filesystem(struct super_block *); extern const struct file_operations def_blk_fops;