diff options
Diffstat (limited to 'fs/afs/mntpt.c')
-rw-r--r-- | fs/afs/mntpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/mntpt.c b/fs/afs/mntpt.c index 4e6eeb59b83c..7b6dc03caf44 100644 --- a/fs/afs/mntpt.c +++ b/fs/afs/mntpt.c | |||
@@ -210,7 +210,7 @@ static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) | |||
210 | 210 | ||
211 | /* try and do the mount */ | 211 | /* try and do the mount */ |
212 | kdebug("--- attempting mount %s -o %s ---", devname, options); | 212 | kdebug("--- attempting mount %s -o %s ---", devname, options); |
213 | mnt = do_kern_mount("afs", 0, devname, options); | 213 | mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options); |
214 | kdebug("--- mount result %p ---", mnt); | 214 | kdebug("--- mount result %p ---", mnt); |
215 | 215 | ||
216 | free_page((unsigned long) devname); | 216 | free_page((unsigned long) devname); |