summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorAl Viro2013-10-04 23:06:56 +0200
committerAl Viro2013-10-25 05:43:26 +0200
commite2fec7c35582e7bb41cccc1761faa2af4dc17627 (patch)
tree9240558de77550f41b034d2ced5e08927f0800a5 /fs/super.c
parentvfs: introduce d_instantiate_no_diralias() (diff)
downloadkernel-qcow2-linux-e2fec7c35582e7bb41cccc1761faa2af4dc17627.tar.gz
kernel-qcow2-linux-e2fec7c35582e7bb41cccc1761faa2af4dc17627.tar.xz
kernel-qcow2-linux-e2fec7c35582e7bb41cccc1761faa2af4dc17627.zip
make freeing super_block rcu-delayed
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 efa6e488a95c..743bb7118053 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -149,7 +149,7 @@ static void destroy_super(struct super_block *s)
WARN_ON(!list_empty(&s->s_mounts));
kfree(s->s_subtype);
kfree(s->s_options);
- kfree(s);
+ kfree_rcu(s, rcu);
}
/**