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>
diff --git a/fs/super.c b/fs/super.c
index 0390461..ba99524 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -130,7 +130,7 @@
* Drop a superblock's refcount. Returns non-zero if the superblock was
* destroyed. The caller must hold sb_lock.
*/
-static int __put_super(struct super_block *sb)
+int __put_super(struct super_block *sb)
{
int ret = 0;