[BACK]Return to vfs_subr.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/vfs_subr.c between version 1.128.2.5 and 1.128.2.6

version 1.128.2.5, 2000/12/14 23:36:02 version 1.128.2.6, 2001/08/16 16:03:45
Line 2012  vfs_hang_addrlist(mp, nep, argp)
Line 2012  vfs_hang_addrlist(mp, nep, argp)
                 mp->mnt_flag |= MNT_DEFEXPORTED;                  mp->mnt_flag |= MNT_DEFEXPORTED;
                 return (0);                  return (0);
         }          }
   
           if (argp->ex_addrlen > MLEN)
                   return (EINVAL);
   
         i = sizeof(struct netcred) + argp->ex_addrlen + argp->ex_masklen;          i = sizeof(struct netcred) + argp->ex_addrlen + argp->ex_masklen;
         np = (struct netcred *)malloc(i, M_NETADDR, M_WAITOK);          np = (struct netcred *)malloc(i, M_NETADDR, M_WAITOK);
         memset((caddr_t)np, 0, i);          memset((caddr_t)np, 0, i);

Legend:
Removed from v.1.128.2.5  
changed lines
  Added in v.1.128.2.6

CVSweb <webmaster@jp.NetBSD.org>