git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
release the dnode lock after EACCESS in path walk
[lunaix-os.git]
/
lunaix-os
/
kernel
/
fs
/
twifs
/
twifs.c
diff --git
a/lunaix-os/kernel/fs/twifs/twifs.c
b/lunaix-os/kernel/fs/twifs/twifs.c
index 3679ee1303f70bc5517544dfc4b0de60d8f34ce8..9d474958bbe10763fc81c4b5d9a599a936ee7dbd 100644
(file)
--- a/
lunaix-os/kernel/fs/twifs/twifs.c
+++ b/
lunaix-os/kernel/fs/twifs/twifs.c
@@
-63,7
+63,7
@@
__twifs_init_inode(struct v_superblock* vsb, struct v_inode* inode)
// we set default access right to be 0660.
// TODO need a way to allow this to be changed
- fsapi_inode_setaccess(inode, FSACL_
u(R, W, _) | FSACL_g(R, W, _)
);
+ fsapi_inode_setaccess(inode, FSACL_
DEFAULT
);
fsapi_inode_setowner(inode, 0, 0);
}