diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-03 21:21:39 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-24 23:45:13 -0400 |
commit | dd3e2c55a45fe75f3213b17b74f9a32380f4e84b (patch) | |
tree | e422d9dda0c7e3bde8bb0fa7026730ef7b0a96f4 /fs/fuse/fuse_i.h | |
parent | 1adfcb03e31ba0d6be5fddf773da4357d0792cbb (diff) |
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>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index fe446c222e3f..4715674f050c 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
@@ -377,6 +377,8 @@ struct fuse_conn { | |||
377 | /** Refcount */ | 377 | /** Refcount */ |
378 | atomic_t count; | 378 | atomic_t count; |
379 | 379 | ||
380 | struct rcu_head rcu; | ||
381 | |||
380 | /** The user id for this mount */ | 382 | /** The user id for this mount */ |
381 | kuid_t user_id; | 383 | kuid_t user_id; |
382 | 384 | ||