]> err.no Git - linux-2.6/blobdiff - fs/afs/mntpt.c
[PATCH] REPORTING-BUGS: request .config file
[linux-2.6] / fs / afs / mntpt.c
index b5cf9e1205ad316c01bfdb5a34abdc81bc752dfe..99785a79d0431cf88224e3acd4b5a3592254f6ec 100644 (file)
@@ -203,7 +203,7 @@ static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt)
 
        /* try and do the mount */
        kdebug("--- attempting mount %s -o %s ---", devname, options);
-       mnt = do_kern_mount("afs", 0, devname, options);
+       mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options);
        kdebug("--- mount result %p ---", mnt);
 
        free_page((unsigned long) devname);