commit | b3f9972a859e95cf836c0044c82fcf312afc566e | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Wed Nov 16 13:00:24 2005 +0000 |
committer | Miklos Szeredi <miklos@szeredi.hu> | Wed Nov 16 13:00:24 2005 +0000 |
tree | 8eaad737402f56ae53f6ed57e2b0878830e652eb | |
parent | 666aea72dfafcf8e93d9c781d1d8d3e644bd6949 [diff] [blame] |
merge FreeBSD stuff
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index f2ac121..31c2789 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c
@@ -787,7 +787,7 @@ req->ch = ch; if (!f->got_init && in->opcode != FUSE_INIT) - fuse_reply_err(req, EPROTO); + fuse_reply_err(req, EIO); else if (f->allow_root && in->uid != f->owner && in->uid != 0 && in->opcode != FUSE_INIT && in->opcode != FUSE_READ && in->opcode != FUSE_WRITE && in->opcode != FUSE_FSYNC &&