On Fri, 12 Mar 2004, Alexander Macdonald wrote: > Ian Kent wrote: > > Thanks for the feedback. How long and in what environment have you been > > using them. > > > Well admittedly my testing has been with only a few pc's each with about 4-5 > shares, none of them SMP boxes. So not at all thorough or stressful compared to > what some people on the list are using it for. >
Better than nothing. Try this patch for 2.6.4 --- linux-2.6.4.orig/fs/autofs4/inode.c Thu Mar 11 10:55:37 2004 +++ linux-2.6.4/fs/autofs4/inode.c Fri Mar 12 10:54:23 2004 @@ -187,6 +187,7 @@ struct file * pipe; int pipefd; struct autofs_sb_info *sbi; + struct autofs_info *ino; int minproto, maxproto; sbi = (struct autofs_sb_info *) kmalloc(sizeof(*sbi), GFP_KERNEL); @@ -212,7 +213,11 @@ /* * Get the root inode and dentry, but defer checking for errors. */ - root_inode = autofs4_get_inode(s, autofs4_mkroot(sbi)); + ino = autofs4_mkroot(sbi); + if (!ino) + goto fail_free; + root_inode = autofs4_get_inode(s, ino); + kfree(ino); if (!root_inode) goto fail_free; _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs