Date: Sun, 5 Aug 2001 15:51:25 +0200 (CEST) From: Michael Reifenberger <root@nihil.plaut.de> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: FreeBSD-Current <current@FreeBSD.ORG> Subject: Re: Linux ls fails on DEVFS /dev Message-ID: <20010805154901.H1909-200000@nihil> In-Reply-To: <29406.997004479@critter>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-203072009-997019485=:1909 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 5 Aug 2001, Poul-Henning Kamp wrote: ... > Open a PR so I don't forget and please include how I can reproduce it > while I test. Done. In the meantime a first (but yet untested) patch to devfs_vnops.c is attached. Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS --0-203072009-997019485=:1909 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="devfs_vnops.c.diff" Content-Transfer-Encoding: BASE64 Content-ID: <20010805155125.H1909@nihil> Content-Description: Content-Disposition: attachment; filename="devfs_vnops.c.diff" LS0tIGRldmZzX3Zub3BzLmMub3JpZwlTdW4gQXVnICA1IDE0OjA4OjEzIDIw MDENCisrKyBkZXZmc192bm9wcy5jCVN1biBBdWcgIDUgMTU6NDU6NDEgMjAw MQ0KQEAgLTUwMCwxMiArNTAwLDEyIEBADQogCXN0cnVjdCBkZXZmc19kaXJl bnQgKmRlOw0KIAlzdHJ1Y3QgZGV2ZnNfbW91bnQgKmRtcDsNCi0Jb2ZmX3Qg b2ZmOw0KKwlvZmZfdCBvZmYsIG9sZG9mZjsNCisJaW50IG5jb29raWVzID0g MDsNCisJdV9sb25nICpjb29raWVidWYsICpjb29raWVwOw0KKwlzdHJ1Y3Qg ZGlyZW50ICpkcHMsICpkcGU7DQogDQogCWlmIChhcC0+YV92cC0+dl90eXBl ICE9IFZESVIpDQogCQlyZXR1cm4gKEVOT1RESVIpOw0KIA0KLQlpZi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Wlv X2lvdi0+aW92X2Jhc2U7DQorCQlmb3IoIGRwID0gZHBzOyANCisJCQlkcCA8 IGRwZTsgDQorCQkJZHAgPSAoc3RydWN0IGRpcmVudCAqKSgoY2FkZHJfdCkg ZHAgKyBkcC0+ZF9yZWNsZW4pKSB7DQorCQkJCW9sZG9mZiArPSBkcC0+ZF9y ZWNsZW47DQorCQkJCSpjb29raWVwKysgPSAodV9sb25nKSBvbGRvZmY7DQor CQl9DQorCQkqYXAtPmFfbmNvb2tpZXMgPSBuY29va2llczsNCisJCSphcC0+ YV9jb29raWVzID0gY29va2llYnVmOw0KKyAgICB9DQogCWxvY2ttZ3IoJmRt cC0+ZG1fbG9jaywgTEtfUkVMRUFTRSwgMCwgY3VycHJvYyk7DQogCXVpby0+ dWlvX29mZnNldCA9IG9mZjsNCg== --0-203072009-997019485=:1909-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010805154901.H1909-200000>