summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-03-23 00:56:42 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-22 00:31:15 +0200
commit8edd64bd6089e21f47dcdebb14b598b713213ddc (patch)
treec356a358c7b823433728869ff430ad205c4b8a5d /fs/super.c
parentLeave superblocks on s_list until the end (diff)
downloadlinux-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.c2
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;