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 <[email protected]>
This commit is contained in:
Al Viro 2010-03-22 19:56:42 -04:00
commit 8edd64bd60
3 changed files with 5 additions and 27 deletions

View file

@ -130,7 +130,7 @@ static inline void destroy_super(struct super_block *s)
* 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;