From add5039a8f31e43eb5a19e90337f3076c0dbbc70 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 28 Apr 2009 18:05:55 +0200 Subject: [PATCH] --- yaml --- r: 147827 b: refs/heads/master c: 876a9f76abbcb775f8d21cbc99fa161f9e5937f1 h: refs/heads/master i: 147825: 8a404c90a3e91fbc4dd008c3bc0bfa41686e2f2d 147823: 9302f61bdc530ee43e23224ff60887be18bd63b3 v: v3 --- [refs] | 2 +- trunk/fs/super.c | 8 -------- trunk/include/linux/fs.h | 5 ----- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/[refs] b/[refs] index 26aae6e9107e..f3fdb9712219 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 864d7c4c068f23642efe91b33be3a84afe5f71e0 +refs/heads/master: 876a9f76abbcb775f8d21cbc99fa161f9e5937f1 diff --git a/trunk/fs/super.c b/trunk/fs/super.c index c170551c23fe..3d9f117dd2a3 100644 --- a/trunk/fs/super.c +++ b/trunk/fs/super.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include "internal.h" @@ -72,7 +71,6 @@ static struct super_block *alloc_super(struct file_system_type *type) INIT_HLIST_HEAD(&s->s_anon); INIT_LIST_HEAD(&s->s_inodes); INIT_LIST_HEAD(&s->s_dentry_lru); - INIT_LIST_HEAD(&s->s_async_list); init_rwsem(&s->s_umount); mutex_init(&s->s_lock); lockdep_set_class(&s->s_umount, &type->s_umount_key); @@ -342,11 +340,6 @@ void generic_shutdown_super(struct super_block *sb) lock_super(sb); sb->s_flags &= ~MS_ACTIVE; - /* - * wait for asynchronous fs operations to finish before going further - */ - async_synchronize_full_domain(&sb->s_async_list); - /* bad name - it should be evict_inodes() */ invalidate_inodes(sb); lock_kernel(); @@ -517,7 +510,6 @@ void sync_filesystems(int wait) sb->s_count++; spin_unlock(&sb_lock); down_read(&sb->s_umount); - async_synchronize_full_domain(&sb->s_async_list); if (sb->s_root && (wait || sb->s_dirt)) sb->s_op->sync_fs(sb, wait); up_read(&sb->s_umount); diff --git a/trunk/include/linux/fs.h b/trunk/include/linux/fs.h index 03fb2102b8f3..36bcff7036ef 100644 --- a/trunk/include/linux/fs.h +++ b/trunk/include/linux/fs.h @@ -1372,11 +1372,6 @@ struct super_block { * generic_show_options() */ char *s_options; - - /* - * storage for asynchronous operations - */ - struct list_head s_async_list; }; extern struct timespec current_fs_time(struct super_block *sb);