]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/afs/mntpt.c
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
[linux-2.6-omap-h63xx.git] / fs / afs / mntpt.c
index 4e6eeb59b83cc02a2ccb1b24ad3ba515770f8d57..7b6dc03caf44877962a71032bdada1b664f46086 100644 (file)
@@ -210,7 +210,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);