NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56130: fdescfs create nodes with wrong major number, solved



The following reply was made to PR kern/56130; it has been noted by GNATS.

From: Sergio de Almeida Lenzi <lenzi.sergio%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56130: fdescfs create nodes with wrong major number, 
 solved
Date: Mon, 26 Apr 2021 11:09:07 -0300

 --=-IAgbO6rVLuKq8llE58V/
 Content-Type: multipart/alternative; boundary="=-D/OFZbjZUfZkDNydFS8y"
 
 
 --=-D/OFZbjZUfZkDNydFS8y
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: 8bit
 
 Em seg, 2021-04-26 às 04:50 +0000, gnats-admin%netbsd.org@localhost escreveu:
 > Thank you very much for your problem report.
 > It has the internal identification `kern/56130'.
 > The individual assigned to look at your
 > report is: kern-bug-people. 
 > 
 > > Category:       kern
 > > Responsible:    kern-bug-people
 > > Synopsis:       fdescfs create nodes with wrong major number
 > > Arrival-Date:   Mon Apr 26 04:50:00 +0000 2021
 > 
 This patch reverses the one from 2019 so fdescfs works again
 Thank you, mlelstv%serpens.de@localhost (Michael van Elst),  for your help,
 pointing me to the solution
 
 --=-D/OFZbjZUfZkDNydFS8y
 Content-Type: text/html; charset="utf-8"
 Content-Transfer-Encoding: quoted-printable
 
 <html><head></head><body><div>Em seg, 2021-04-26 =C3=A0s 04:50 +0000, gnats=
 -admin%netbsd.org@localhost escreveu:</div><blockquote type=3D"cite" style=3D"margin:=
 0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>Thank you =
 very much for your problem report.</pre><pre>It has the internal identifica=
 tion `kern/56130'.</pre><pre>The individual assigned to look at your</pre><=
 pre>report is: kern-bug-people. </pre><pre><br></pre><blockquote type=3D"ci=
 te" style=3D"margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:=
 1ex"><pre>Category:       kern</pre><pre>Responsible:    kern-bug-people</p=
 re><pre>Synopsis:       fdescfs create nodes with wrong major number</pre><=
 pre>Arrival-Date:   Mon Apr 26 04:50:00 +0000 2021</pre></blockquote></bloc=
 kquote><blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; border-left:2p=
 x #729fcf solid;padding-left:1ex"><pre><br></pre></blockquote><div>This pat=
 ch reverses the one from 2019 so fdescfs works again</div><div>Thank you,&n=
 bsp;<a href=3D"mailto:mlelstv%serpens.de@localhost"; title=3D"Click to mail mlelstv@se=
 rpens.de" style=3D"font-family: monospace;">mlelstv%serpens.de@localhost</a><span sty=
 le=3D"font-family: monospace;">&nbsp;(Michael van Elst), &nbsp;for your hel=
 p, pointing me to the solution</span></div><div class=3D"-x-evo-signature-w=
 rapper"><span class=3D"-x-evo-signature" id=3D"none"></span></div></body></=
 html>
 
 --=-D/OFZbjZUfZkDNydFS8y--
 
 --=-IAgbO6rVLuKq8llE58V/
 Content-Description: 
 Content-Disposition: inline; filename="patch-vfs_vnops.c"
 Content-Type: text/plain; name="patch-vfs_vnops.c"; charset="UTF-8"
 Content-Transfer-Encoding: 7bit
 
 RCS file: /cvsroot/src/sys/kern/vfs_vnops.c,v
 retrieving revision 1.200
 diff -u -r1.200 vfs_vnops.c
 --- vfs_vnops.c	7 Mar 2019 11:09:48 -0000	1.200
 +++ vfs_vnops.c	26 Apr 2021 13:06:31 -0000
 @@ -297,7 +297,7 @@
  	int permbits = 0;
  	int error;
  
 -	if (vp->v_type == VNON || vp->v_type == VBAD)
 +	if (vp->v_type == VBAD)
  		return ENXIO;
  
  	if ((fflags & O_DIRECTORY) != 0 && vp->v_type != VDIR)
 
 --=-IAgbO6rVLuKq8llE58V/--
 



Home | Main Index | Thread Index | Old Index