X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=include%2Flinux%2Ffs.h;h=3f40547ba1917cd038f085bcdb6c6e577a9d4538;hb=0fbf2cc983ca15208545010863c6536d36a25f3a;hp=a4acd3c61190f7bb6f1f8496a11f0513912de128;hpb=e0ea4045bce3cee84e35746fb98946ca36781248;p=linux-2.6-block.git diff --git a/include/linux/fs.h b/include/linux/fs.h index a4acd3c61190..3f40547ba191 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2069,6 +2069,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; } @@ -2088,6 +2089,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;