X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Finternal.h;h=d55ef562f0bb588939d3b870d675a94e163a5a1e;hb=9f7048412163d8f8175ba01063f3db02d42cc6a7;hp=477a105f8df370e7e3d0cd2f1f7ecf8757bd9491;hpb=3e93cd671813e204c258f1e6c797959920cf7772;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/internal.h b/fs/internal.h index 477a105..d55ef56 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -25,6 +25,8 @@ static inline int sb_is_blkdev_sb(struct super_block *sb) return sb == blockdev_superblock; } +extern int __sync_blockdev(struct block_device *bdev, int wait); + #else static inline void bdev_cache_init(void) { @@ -34,6 +36,11 @@ static inline int sb_is_blkdev_sb(struct super_block *sb) { return 0; } + +static inline int __sync_blockdev(struct block_device *bdev, int wait) +{ + return 0; +} #endif /* @@ -44,7 +51,7 @@ extern void __init chrdev_init(void); /* * exec.c */ -extern void check_unsafe_exec(struct linux_binprm *); +extern int check_unsafe_exec(struct linux_binprm *); /* * namespace.c @@ -66,3 +73,13 @@ extern void __init mnt_init(void); * fs_struct.c */ extern void chroot_fs_refs(struct path *, struct path *); + +/* + * file_table.c + */ +extern void mark_files_ro(struct super_block *); + +/* + * super.c + */ +extern int do_remount_sb(struct super_block *, int, void *, int);