svn commit: r197212 - head/sys/nfsclient

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Tue Sep 15 06:15:08 UTC 2009


On Tue, 15 Sep 2009, Qing Li wrote:

> Author: qingli
> Date: Tue Sep 15 02:22:57 2009
> New Revision: 197212
> URL: http://svn.freebsd.org/changeset/base/197212
>
> Log:
>  Simply remove the code instead of using "#if 0".
>
>  Pointed out by sam

In this case the block just above that should probably removed as
well?


> Modified:
>  head/sys/nfsclient/nfs_vfsops.c
>
> Modified: head/sys/nfsclient/nfs_vfsops.c
> ==============================================================================
> --- head/sys/nfsclient/nfs_vfsops.c	Tue Sep 15 02:04:16 2009	(r197211)
> +++ head/sys/nfsclient/nfs_vfsops.c	Tue Sep 15 02:22:57 2009	(r197212)
> @@ -464,12 +464,6 @@ nfs_mountroot(struct mount *mp)
> 	}
> #endif
>
> -#if 0 /* QL: XXX */
> -	error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td);
> -	if (error)
> -		panic("nfs_mountroot: SIOCAIFADDR: %d", error);
> -#endif
> -
> 	if ((cp = getenv("boot.netif.mtu")) != NULL) {
> 		ir.ifr_mtu = strtol(cp, NULL, 10);
> 		bcopy(nd->myif.ifra_name, ir.ifr_name, IFNAMSIZ);
>

-- 
Bjoern A. Zeeb           What was I talking about and who are you again?


More information about the svn-src-head mailing list