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/cifs | |
parent | a6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff) |
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 0cb89dc6526c..b1fd382d1952 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -343,9 +343,9 @@ cifs_show_security(struct seq_file *s, struct TCP_Server_Info *server) | |||
343 | * ones are. | 343 | * ones are. |
344 | */ | 344 | */ |
345 | static int | 345 | static int |
346 | cifs_show_options(struct seq_file *s, struct vfsmount *m) | 346 | cifs_show_options(struct seq_file *s, struct dentry *root) |
347 | { | 347 | { |
348 | struct cifs_sb_info *cifs_sb = CIFS_SB(m->mnt_sb); | 348 | struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb); |
349 | struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); | 349 | struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); |
350 | struct sockaddr *srcaddr; | 350 | struct sockaddr *srcaddr; |
351 | srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; | 351 | srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; |
@@ -430,7 +430,7 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m) | |||
430 | seq_printf(s, ",cifsacl"); | 430 | seq_printf(s, ",cifsacl"); |
431 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM) | 431 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM) |
432 | seq_printf(s, ",dynperm"); | 432 | seq_printf(s, ",dynperm"); |
433 | if (m->mnt_sb->s_flags & MS_POSIXACL) | 433 | if (root->d_sb->s_flags & MS_POSIXACL) |
434 | seq_printf(s, ",acl"); | 434 | seq_printf(s, ",acl"); |
435 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) | 435 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) |
436 | seq_printf(s, ",mfsymlinks"); | 436 | seq_printf(s, ",mfsymlinks"); |