aboutsummaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-03-22 19:56:42 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-21 18:31:15 -0400
commit8edd64bd6089e21f47dcdebb14b598b713213ddc (patch)
treec356a358c7b823433728869ff430ad205c4b8a5d /fs/super.c
parent551de6f34dfeefbeeadb32909c387d393114ecc8 (diff)
downloadkernel_samsung_aries-8edd64bd6089e21f47dcdebb14b598b713213ddc.zip
kernel_samsung_aries-8edd64bd6089e21f47dcdebb14b598b713213ddc.tar.gz
kernel_samsung_aries-8edd64bd6089e21f47dcdebb14b598b713213ddc.tar.bz2
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 0390461..ba99524 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;