Date: Tue, 15 Sep 2009 06:11:16 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Qing Li <qingli@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197212 - head/sys/nfsclient Message-ID: <20090915061045.Q68375@maildrop.int.zabbadoz.net> In-Reply-To: <200909150222.n8F2Mvo0073002@svn.freebsd.org> References: <200909150222.n8F2Mvo0073002@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090915061045.Q68375>