aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-08 21:32:45 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-06 23:19:54 -0500
commit34c80b1d93e6e20ca9dea0baf583a5b5510d92d4 (patch)
tree7dcbf0a4e09464247e6992c8f44fcc872867bd3a /fs/ceph
parenta6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff)
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/super.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index b48f15f101a0..11bd0fc4853f 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -341,11 +341,11 @@ out:
341/** 341/**
342 * ceph_show_options - Show mount options in /proc/mounts 342 * ceph_show_options - Show mount options in /proc/mounts
343 * @m: seq_file to write to 343 * @m: seq_file to write to
344 * @mnt: mount descriptor 344 * @root: root of that (sub)tree
345 */ 345 */
346static int ceph_show_options(struct seq_file *m, struct vfsmount *mnt) 346static int ceph_show_options(struct seq_file *m, struct dentry *root)
347{ 347{
348 struct ceph_fs_client *fsc = ceph_sb_to_client(mnt->mnt_sb); 348 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb);
349 struct ceph_mount_options *fsopt = fsc->mount_options; 349 struct ceph_mount_options *fsopt = fsc->mount_options;
350 struct ceph_options *opt = fsc->client->options; 350 struct ceph_options *opt = fsc->client->options;
351 351