diff options
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r-- | fs/autofs4/autofs_i.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 3f1128b37e46..4218e26df916 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h | |||
@@ -122,6 +122,7 @@ struct autofs_sb_info { | |||
122 | spinlock_t lookup_lock; | 122 | spinlock_t lookup_lock; |
123 | struct list_head active_list; | 123 | struct list_head active_list; |
124 | struct list_head expiring_list; | 124 | struct list_head expiring_list; |
125 | struct rcu_head rcu; | ||
125 | }; | 126 | }; |
126 | 127 | ||
127 | static inline struct autofs_sb_info *autofs4_sbi(struct super_block *sb) | 128 | static inline struct autofs_sb_info *autofs4_sbi(struct super_block *sb) |
@@ -271,7 +272,7 @@ void autofs4_clean_ino(struct autofs_info *); | |||
271 | 272 | ||
272 | static inline int autofs_prepare_pipe(struct file *pipe) | 273 | static inline int autofs_prepare_pipe(struct file *pipe) |
273 | { | 274 | { |
274 | if (!pipe->f_op || !pipe->f_op->write) | 275 | if (!pipe->f_op->write) |
275 | return -EINVAL; | 276 | return -EINVAL; |
276 | if (!S_ISFIFO(file_inode(pipe)->i_mode)) | 277 | if (!S_ISFIFO(file_inode(pipe)->i_mode)) |
277 | return -EINVAL; | 278 | return -EINVAL; |