vfs: switch ->show_options() to struct dentry *
[deliverable/linux.git] / fs / hfs / super.c
index 1b55f704fb225270b68acd7fbef50179c25d5220..8137fb3e6780343c6a7a36086547cdfba0936c0e 100644 (file)
@@ -133,9 +133,9 @@ static int hfs_remount(struct super_block *sb, int *flags, char *data)
        return 0;
 }
 
-static int hfs_show_options(struct seq_file *seq, struct vfsmount *mnt)
+static int hfs_show_options(struct seq_file *seq, struct dentry *root)
 {
-       struct hfs_sb_info *sbi = HFS_SB(mnt->mnt_sb);
+       struct hfs_sb_info *sbi = HFS_SB(root->d_sb);
 
        if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f))
                seq_printf(seq, ",creator=%.4s", (char *)&sbi->s_creator);
@@ -170,7 +170,6 @@ static struct inode *hfs_alloc_inode(struct super_block *sb)
 static void hfs_i_callback(struct rcu_head *head)
 {
        struct inode *inode = container_of(head, struct inode, i_rcu);
-       INIT_LIST_HEAD(&inode->i_dentry);
        kmem_cache_free(hfs_inode_cachep, HFS_I(inode));
 }
 
This page took 0.025453 seconds and 5 git commands to generate.