vfs: switch ->show_options() to struct dentry *
[deliverable/linux.git] / fs / hostfs / hostfs_kern.c
index 3a3a530f5bad9292ac5989e3196e956f5ffe76a9..e130bd46d671515762152d071194ce9e9a3bb4a6 100644 (file)
@@ -258,9 +258,9 @@ static void hostfs_destroy_inode(struct inode *inode)
        call_rcu(&inode->i_rcu, hostfs_i_callback);
 }
 
-static int hostfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
+static int hostfs_show_options(struct seq_file *seq, struct dentry *root)
 {
-       const char *root_path = vfs->mnt_sb->s_fs_info;
+       const char *root_path = root->d_sb->s_fs_info;
        size_t offset = strlen(root_ino) + 1;
 
        if (strlen(root_path) > offset)
@@ -700,7 +700,7 @@ int hostfs_rmdir(struct inode *ino, struct dentry *dentry)
        return err;
 }
 
-int hostfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev)
+static int hostfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
 {
        struct inode *inode;
        char *name;
This page took 0.02616 seconds and 5 git commands to generate.