X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flvfs_linux.h;h=2cbb75529d0692bdd03a680e5a8e15ca9b85a179;hp=e38ee13f8a9d6245b6bbd522d0abbea5f10b791d;hb=c65b502fe9feda61c7ad7137f5022c654c6ba501;hpb=d21876c689b7339132064a3fcc9defdb96dd8501 diff --git a/lustre/include/linux/lvfs_linux.h b/lustre/include/linux/lvfs_linux.h index e38ee13..2cbb755 100644 --- a/lustre/include/linux/lvfs_linux.h +++ b/lustre/include/linux/lvfs_linux.h @@ -87,7 +87,7 @@ int fsync_bdev(struct block_device *); #define lvfs_set_rdonly(obd, sb) \ __lvfs_set_rdonly(lvfs_sbdev(sb), fsfilt_journal_sbdev(obd, sb)) -void __lvfs_set_rdonly(lvfs_sbdev_type dev, lvfs_sbdev_type jdev); +int __lvfs_set_rdonly(lvfs_sbdev_type dev, lvfs_sbdev_type jdev); int lvfs_check_rdonly(lvfs_sbdev_type dev); void lvfs_clear_rdonly(lvfs_sbdev_type dev);