vfs: switch ->show_options() to struct dentry *

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-12-08 21:32:45 -05:00
commit 34c80b1d93
39 changed files with 90 additions and 91 deletions

View file

@ -131,9 +131,9 @@ static void ecryptfs_evict_inode(struct inode *inode)
* Prints the mount options for a given superblock.
* Returns zero; does not fail.
*/
static int ecryptfs_show_options(struct seq_file *m, struct vfsmount *mnt)
static int ecryptfs_show_options(struct seq_file *m, struct dentry *root)
{
struct super_block *sb = mnt->mnt_sb;
struct super_block *sb = root->d_sb;
struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
&ecryptfs_superblock_to_private(sb)->mount_crypt_stat;
struct ecryptfs_global_auth_tok *walker;