summaryrefslogtreecommitdiff
path: root/include/linux/fs_pin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs_pin.h')
-rw-r--r--include/linux/fs_pin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs_pin.h b/include/linux/fs_pin.h
index 9dc4e0384bfb..3886b3bffd7f 100644
--- a/include/linux/fs_pin.h
+++ b/include/linux/fs_pin.h
@@ -13,6 +13,8 @@ struct vfsmount;
static inline void init_fs_pin(struct fs_pin *p, void (*kill)(struct fs_pin *))
{
init_waitqueue_head(&p->wait);
+ INIT_HLIST_NODE(&p->s_list);
+ INIT_HLIST_NODE(&p->m_list);
p->kill = kill;
}