mirror of https://github.com/0intro/wmii
fixed a bug on dir creation caused with 9p2000.ko
This commit is contained in:
parent
7ae7fa8759
commit
942904f7f5
|
@ -1541,10 +1541,11 @@ static char *
|
|||
xclunk(IXPConn *c, Fcall *fcall)
|
||||
{
|
||||
IXPMap *m = ixp_server_fid2map(c, fcall->fid);
|
||||
unsigned char type = unpack_type(m->wqid[m->sel].path);
|
||||
unsigned char type;
|
||||
|
||||
if(!m)
|
||||
return Enofile;
|
||||
type = unpack_type(m->wqid[m->sel].path);
|
||||
if(type == FsFkeys)
|
||||
update_keys();
|
||||
else if(type == FsFrules)
|
||||
|
|
Loading…
Reference in New Issue