Unswap perm and omode in fsfcreate call (Michael Teichgräber)
This commit is contained in:
parent
d7158243a6
commit
e54f9a4ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -610,7 +610,7 @@ _fusecreate(uvlong nodeid, char *name, int perm, int ismkdir, int omode, struct
|
|||
*err = errstr2errno();
|
||||
return nil;
|
||||
}
|
||||
if(fsfcreate(newfid, name, perm, omode) < 0){
|
||||
if(fsfcreate(newfid, name, omode, perm) < 0){
|
||||
*err = errstr2errno();
|
||||
fsclose(newfid);
|
||||
return nil;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue