ref: 37b560e50f263b3342a8f8933c3c836272786a4e
parent: e7b1c1aad896c131fb30b6b0836ff65a63a6eae3
parent: 0d7bbda9b93e4af3c512f835cc502a7e9a60c359
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jul 15 21:36:35 EDT 2018
merge
--- a/sys/src/9/port/devmnt.c
+++ b/sys/src/9/port/devmnt.c
@@ -307,6 +307,9 @@
Mnt *m;
Mntrpc *r;
+ if(ac != nil && ac->mchan != c)
+ error(Ebadusefd);
+
m = c->mux;
if(m == nil){
mntversion(c, nil, 0, 0);