diff options
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 74c8d098a14a..27937e8018eb 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
@@ -280,14 +280,9 @@ struct fuse_conn { | |||
280 | struct backing_dev_info bdi; | 280 | struct backing_dev_info bdi; |
281 | }; | 281 | }; |
282 | 282 | ||
283 | static inline struct fuse_conn **get_fuse_conn_super_p(struct super_block *sb) | ||
284 | { | ||
285 | return (struct fuse_conn **) &sb->s_fs_info; | ||
286 | } | ||
287 | |||
288 | static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb) | 283 | static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb) |
289 | { | 284 | { |
290 | return *get_fuse_conn_super_p(sb); | 285 | return sb->s_fs_info; |
291 | } | 286 | } |
292 | 287 | ||
293 | static inline struct fuse_conn *get_fuse_conn(struct inode *inode) | 288 | static inline struct fuse_conn *get_fuse_conn(struct inode *inode) |