diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-23 00:56:42 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-22 00:31:15 +0200 |
commit | 8edd64bd6089e21f47dcdebb14b598b713213ddc (patch) | |
tree | c356a358c7b823433728869ff430ad205c4b8a5d /fs/super.c | |
parent | Leave superblocks on s_list until the end (diff) | |
download | linux-8edd64bd6089e21f47dcdebb14b598b713213ddc.tar.xz linux-8edd64bd6089e21f47dcdebb14b598b713213ddc.zip |
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 'fs/super.c')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index 0390461dfca0..ba99524998f7 100644 --- a/fs/super.c +++ b/fs/super.c @@ -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; |