commit | dd3e2c55a45fe75f3213b17b74f9a32380f4e84b | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 03 21:21:39 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 24 23:45:13 2013 -0400 |
tree | e422d9dda0c7e3bde8bb0fa7026730ef7b0a96f4 | |
parent | 1adfcb03e31ba0d6be5fddf773da4357d0792cbb [diff] [blame] |
fuse: rcu-delay freeing fuse_conn makes ->permission() and ->d_revalidate() safety in RCU mode independent from vfsmount_lock. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 1c15613..d468643 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c
@@ -918,7 +918,7 @@ static void fuse_free_conn(struct fuse_conn *fc) { - kfree(fc); + kfree_rcu(fc, rcu); } static int fuse_bdi_init(struct fuse_conn *fc, struct super_block *sb)