mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
a6322de67b
commit
34c80b1d93
39 changed files with 90 additions and 91 deletions
|
|
@ -44,7 +44,7 @@
|
|||
static void ncp_evict_inode(struct inode *);
|
||||
static void ncp_put_super(struct super_block *);
|
||||
static int ncp_statfs(struct dentry *, struct kstatfs *);
|
||||
static int ncp_show_options(struct seq_file *, struct vfsmount *);
|
||||
static int ncp_show_options(struct seq_file *, struct dentry *);
|
||||
|
||||
static struct kmem_cache * ncp_inode_cachep;
|
||||
|
||||
|
|
@ -322,9 +322,9 @@ static void ncp_stop_tasks(struct ncp_server *server) {
|
|||
flush_work_sync(&server->timeout_tq);
|
||||
}
|
||||
|
||||
static int ncp_show_options(struct seq_file *seq, struct vfsmount *mnt)
|
||||
static int ncp_show_options(struct seq_file *seq, struct dentry *root)
|
||||
{
|
||||
struct ncp_server *server = NCP_SBP(mnt->mnt_sb);
|
||||
struct ncp_server *server = NCP_SBP(root->d_sb);
|
||||
unsigned int tmp;
|
||||
|
||||
if (server->m.uid != 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue