summaryrefslogtreecommitdiff
path: root/fs/autofs4/autofs_i.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-03 16:46:44 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-25 03:43:27 (GMT)
commitbaa40671d3e3b590a33b2c0e022db61cbebf5c00 (patch)
tree7cf63d16ee78ed0fcb1a31f58de25ea4098fb636 /fs/autofs4/autofs_i.h
parent2d1d9b5b5cc2d7d528a7cbf621d924de38b1b6b6 (diff)
downloadlinux-baa40671d3e3b590a33b2c0e022db61cbebf5c00.tar.xz
autofs4: make freeing sbi rcu-delayed
makes ->d_managed() safety in RCU mode independent from vfsmount_lock Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r--fs/autofs4/autofs_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
index ebab147..4218e26 100644
--- a/fs/autofs4/autofs_i.h
+++ b/fs/autofs4/autofs_i.h
@@ -122,6 +122,7 @@ struct autofs_sb_info {
spinlock_t lookup_lock;
struct list_head active_list;
struct list_head expiring_list;
+ struct rcu_head rcu;
};
static inline struct autofs_sb_info *autofs4_sbi(struct super_block *sb)