diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-07 03:12:29 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-11 21:36:07 -0400 |
| commit | 62c6943b4b1e818aea60c11c5a68a50785b83119 (patch) | |
| tree | ecdbb1c63d5c37b42f7074e4c53beaaa850ada2b | |
| parent | 443b94baaa16771e98b29ca7c24f1e305738ffca (diff) | |
Trim a bit of crap from fs.h
do_remount_sb() is fs/internal.h fodder, fsync_no_super() is long gone.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| -rw-r--r-- | fs/internal.h | 5 | ||||
| -rw-r--r-- | include/linux/fs.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/fs/internal.h b/fs/internal.h index dbec3cc28338..d55ef562f0bb 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
| @@ -78,3 +78,8 @@ extern void chroot_fs_refs(struct path *, struct path *); | |||
| 78 | * file_table.c | 78 | * file_table.c |
| 79 | */ | 79 | */ |
| 80 | extern void mark_files_ro(struct super_block *); | 80 | extern void mark_files_ro(struct super_block *); |
| 81 | |||
| 82 | /* | ||
| 83 | * super.c | ||
| 84 | */ | ||
| 85 | extern int do_remount_sb(struct super_block *, int, void *, int); | ||
diff --git a/include/linux/fs.h b/include/linux/fs.h index fb1822bed7c8..e7833ef5d1d6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1942,7 +1942,6 @@ extern struct super_block *freeze_bdev(struct block_device *); | |||
| 1942 | extern void emergency_thaw_all(void); | 1942 | extern void emergency_thaw_all(void); |
| 1943 | extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); | 1943 | extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); |
| 1944 | extern int fsync_bdev(struct block_device *); | 1944 | extern int fsync_bdev(struct block_device *); |
| 1945 | extern int fsync_no_super(struct block_device *); | ||
| 1946 | #else | 1945 | #else |
| 1947 | static inline void bd_forget(struct inode *inode) {} | 1946 | static inline void bd_forget(struct inode *inode) {} |
| 1948 | static inline int sync_blockdev(struct block_device *bdev) { return 0; } | 1947 | static inline int sync_blockdev(struct block_device *bdev) { return 0; } |
| @@ -2079,8 +2078,6 @@ extern int vfs_fsync(struct file *file, struct dentry *dentry, int datasync); | |||
| 2079 | extern void sync_supers(void); | 2078 | extern void sync_supers(void); |
| 2080 | extern void emergency_sync(void); | 2079 | extern void emergency_sync(void); |
| 2081 | extern void emergency_remount(void); | 2080 | extern void emergency_remount(void); |
| 2082 | extern int do_remount_sb(struct super_block *sb, int flags, | ||
| 2083 | void *data, int force); | ||
| 2084 | #ifdef CONFIG_BLOCK | 2081 | #ifdef CONFIG_BLOCK |
| 2085 | extern sector_t bmap(struct inode *, sector_t); | 2082 | extern sector_t bmap(struct inode *, sector_t); |
| 2086 | #endif | 2083 | #endif |
