projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix yaffs_endian.h for Linux
[yaffs2.git]
/
yaffs_attribs.c
diff --git
a/yaffs_attribs.c
b/yaffs_attribs.c
index 711941f137f554a2a32cd32edafd60049f7bc435..5eb7c5a94a45704c30e7a5cb674bc07444d7c1dd 100644
(file)
--- a/
yaffs_attribs.c
+++ b/
yaffs_attribs.c
@@
-22,6
+22,10
@@
#define IATTR_GID ia_gid.val
#endif
+/*
+ * Loading attibs from/to object header assumes the object header
+ * is in cpu endian.
+ */
void yaffs_load_attribs(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh)
{
obj->yst_uid = oh->yst_uid;