diff options
Diffstat (limited to 'fs/hfs/super.c')
-rw-r--r-- | fs/hfs/super.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c index 1b55f704fb22..8137fb3e6780 100644 --- a/fs/hfs/super.c +++ b/fs/hfs/super.c | |||
@@ -133,9 +133,9 @@ static int hfs_remount(struct super_block *sb, int *flags, char *data) | |||
133 | return 0; | 133 | return 0; |
134 | } | 134 | } |
135 | 135 | ||
136 | static int hfs_show_options(struct seq_file *seq, struct vfsmount *mnt) | 136 | static int hfs_show_options(struct seq_file *seq, struct dentry *root) |
137 | { | 137 | { |
138 | struct hfs_sb_info *sbi = HFS_SB(mnt->mnt_sb); | 138 | struct hfs_sb_info *sbi = HFS_SB(root->d_sb); |
139 | 139 | ||
140 | if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f)) | 140 | if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f)) |
141 | seq_printf(seq, ",creator=%.4s", (char *)&sbi->s_creator); | 141 | seq_printf(seq, ",creator=%.4s", (char *)&sbi->s_creator); |
@@ -170,7 +170,6 @@ static struct inode *hfs_alloc_inode(struct super_block *sb) | |||
170 | static void hfs_i_callback(struct rcu_head *head) | 170 | static void hfs_i_callback(struct rcu_head *head) |
171 | { | 171 | { |
172 | struct inode *inode = container_of(head, struct inode, i_rcu); | 172 | struct inode *inode = container_of(head, struct inode, i_rcu); |
173 | INIT_LIST_HEAD(&inode->i_dentry); | ||
174 | kmem_cache_free(hfs_inode_cachep, HFS_I(inode)); | 173 | kmem_cache_free(hfs_inode_cachep, HFS_I(inode)); |
175 | } | 174 | } |
176 | 175 | ||