提交 dd0735bf 编写于 作者: L li_zan

Description:Fix tmpfs mode bug

上级 4c9f70b6
...@@ -1162,7 +1162,7 @@ int tmpfs_create(struct Vnode *dvp, const char *path, int mode, struct Vnode **v ...@@ -1162,7 +1162,7 @@ int tmpfs_create(struct Vnode *dvp, const char *path, int mode, struct Vnode **v
vp->data = tfo; vp->data = tfo;
vp->originMount = dvp->originMount; vp->originMount = dvp->originMount;
vp->type = VNODE_TYPE_REG; vp->type = VNODE_TYPE_REG;
tfo->mode = mode; tfo->mode = mode;
vp->mode = tfo->mode; vp->mode = tfo->mode;
vp->gid = tfo->gid; vp->gid = tfo->gid;
vp->uid = tfo->uid; vp->uid = tfo->uid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册