diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-22 19:56:42 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:15 -0400 |
| commit | 8edd64bd6089e21f47dcdebb14b598b713213ddc (patch) | |
| tree | c356a358c7b823433728869ff430ad205c4b8a5d /include/linux/fs.h | |
| parent | 551de6f34dfeefbeeadb32909c387d393114ecc8 (diff) | |
get rid of restarts in sync_filesystems()
At the same time we can kill s_need_restart and local mutex in there.
__put_super() made public for a while; will be gone later.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 62f84d955b83..e1c7427802b8 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1332,7 +1332,6 @@ struct super_block { | |||
| 1332 | struct rw_semaphore s_umount; | 1332 | struct rw_semaphore s_umount; |
| 1333 | struct mutex s_lock; | 1333 | struct mutex s_lock; |
| 1334 | int s_count; | 1334 | int s_count; |
| 1335 | int s_need_sync; | ||
| 1336 | atomic_t s_active; | 1335 | atomic_t s_active; |
| 1337 | #ifdef CONFIG_SECURITY | 1336 | #ifdef CONFIG_SECURITY |
| 1338 | void *s_security; | 1337 | void *s_security; |
| @@ -1780,6 +1779,7 @@ extern int get_sb_pseudo(struct file_system_type *, char *, | |||
| 1780 | struct vfsmount *mnt); | 1779 | struct vfsmount *mnt); |
| 1781 | extern void simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); | 1780 | extern void simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); |
| 1782 | int __put_super_and_need_restart(struct super_block *sb); | 1781 | int __put_super_and_need_restart(struct super_block *sb); |
| 1782 | int __put_super(struct super_block *sb); | ||
| 1783 | void put_super(struct super_block *sb); | 1783 | void put_super(struct super_block *sb); |
| 1784 | 1784 | ||
| 1785 | /* Alas, no aliases. Too much hassle with bringing module.h everywhere */ | 1785 | /* Alas, no aliases. Too much hassle with bringing module.h everywhere */ |
