diff options
Diffstat (limited to 'fs/ncpfs/inode.c')
-rw-r--r-- | fs/ncpfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index f3f07cd392b3..3d1e34f8a68e 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -44,7 +44,7 @@ | |||
44 | static void ncp_evict_inode(struct inode *); | 44 | static void ncp_evict_inode(struct inode *); |
45 | static void ncp_put_super(struct super_block *); | 45 | static void ncp_put_super(struct super_block *); |
46 | static int ncp_statfs(struct dentry *, struct kstatfs *); | 46 | static int ncp_statfs(struct dentry *, struct kstatfs *); |
47 | static int ncp_show_options(struct seq_file *, struct vfsmount *); | 47 | static int ncp_show_options(struct seq_file *, struct dentry *); |
48 | 48 | ||
49 | static struct kmem_cache * ncp_inode_cachep; | 49 | static struct kmem_cache * ncp_inode_cachep; |
50 | 50 | ||
@@ -322,9 +322,9 @@ static void ncp_stop_tasks(struct ncp_server *server) { | |||
322 | flush_work_sync(&server->timeout_tq); | 322 | flush_work_sync(&server->timeout_tq); |
323 | } | 323 | } |
324 | 324 | ||
325 | static int ncp_show_options(struct seq_file *seq, struct vfsmount *mnt) | 325 | static int ncp_show_options(struct seq_file *seq, struct dentry *root) |
326 | { | 326 | { |
327 | struct ncp_server *server = NCP_SBP(mnt->mnt_sb); | 327 | struct ncp_server *server = NCP_SBP(root->d_sb); |
328 | unsigned int tmp; | 328 | unsigned int tmp; |
329 | 329 | ||
330 | if (server->m.uid != 0) | 330 | if (server->m.uid != 0) |