diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-12-08 21:32:45 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-06 23:19:54 -0500 |
commit | 34c80b1d93e6e20ca9dea0baf583a5b5510d92d4 (patch) | |
tree | 7dcbf0a4e09464247e6992c8f44fcc872867bd3a /fs/ecryptfs | |
parent | a6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff) |
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r-- | fs/ecryptfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c index da485f0b4d1e..9df7fd6e0c39 100644 --- a/fs/ecryptfs/super.c +++ b/fs/ecryptfs/super.c | |||
@@ -131,9 +131,9 @@ static void ecryptfs_evict_inode(struct inode *inode) | |||
131 | * Prints the mount options for a given superblock. | 131 | * Prints the mount options for a given superblock. |
132 | * Returns zero; does not fail. | 132 | * Returns zero; does not fail. |
133 | */ | 133 | */ |
134 | static int ecryptfs_show_options(struct seq_file *m, struct vfsmount *mnt) | 134 | static int ecryptfs_show_options(struct seq_file *m, struct dentry *root) |
135 | { | 135 | { |
136 | struct super_block *sb = mnt->mnt_sb; | 136 | struct super_block *sb = root->d_sb; |
137 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat = | 137 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat = |
138 | &ecryptfs_superblock_to_private(sb)->mount_crypt_stat; | 138 | &ecryptfs_superblock_to_private(sb)->mount_crypt_stat; |
139 | struct ecryptfs_global_auth_tok *walker; | 139 | struct ecryptfs_global_auth_tok *walker; |