Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2fec7c3 authored by Al Viro's avatar Al Viro
Browse files

make freeing super_block rcu-delayed



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b70a80e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -149,7 +149,7 @@ static void destroy_super(struct super_block *s)
	WARN_ON(!list_empty(&s->s_mounts));
	WARN_ON(!list_empty(&s->s_mounts));
	kfree(s->s_subtype);
	kfree(s->s_subtype);
	kfree(s->s_options);
	kfree(s->s_options);
	kfree(s);
	kfree_rcu(s, rcu);
}
}


/**
/**
+1 −0
Original line number Original line Diff line number Diff line
@@ -1330,6 +1330,7 @@ struct super_block {
	 */
	 */
	struct list_lru		s_dentry_lru ____cacheline_aligned_in_smp;
	struct list_lru		s_dentry_lru ____cacheline_aligned_in_smp;
	struct list_lru		s_inode_lru ____cacheline_aligned_in_smp;
	struct list_lru		s_inode_lru ____cacheline_aligned_in_smp;
	struct rcu_head		rcu;
};
};


extern struct timespec current_fs_time(struct super_block *sb);
extern struct timespec current_fs_time(struct super_block *sb);