diff options
Diffstat (limited to 'fs/afs/mntpt.c')
-rw-r--r-- | fs/afs/mntpt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/afs/mntpt.c b/fs/afs/mntpt.c index 99785a79d043..8f74e8450826 100644 --- a/fs/afs/mntpt.c +++ b/fs/afs/mntpt.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/pagemap.h> | 18 | #include <linux/pagemap.h> |
19 | #include <linux/mount.h> | 19 | #include <linux/mount.h> |
20 | #include <linux/namei.h> | 20 | #include <linux/namei.h> |
21 | #include <linux/namespace.h> | 21 | #include <linux/mnt_namespace.h> |
22 | #include "super.h" | 22 | #include "super.h" |
23 | #include "cell.h" | 23 | #include "cell.h" |
24 | #include "volume.h" | 24 | #include "volume.h" |
@@ -136,11 +136,11 @@ static int afs_mntpt_open(struct inode *inode, struct file *file) | |||
136 | { | 136 | { |
137 | kenter("%p,%p{%p{%s},%s}", | 137 | kenter("%p,%p{%p{%s},%s}", |
138 | inode, file, | 138 | inode, file, |
139 | file->f_dentry->d_parent, | 139 | file->f_path.dentry->d_parent, |
140 | file->f_dentry->d_parent ? | 140 | file->f_path.dentry->d_parent ? |
141 | file->f_dentry->d_parent->d_name.name : | 141 | file->f_path.dentry->d_parent->d_name.name : |
142 | (const unsigned char *) "", | 142 | (const unsigned char *) "", |
143 | file->f_dentry->d_name.name); | 143 | file->f_path.dentry->d_name.name); |
144 | 144 | ||
145 | return -EREMOTE; | 145 | return -EREMOTE; |
146 | } /* end afs_mntpt_open() */ | 146 | } /* end afs_mntpt_open() */ |