X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_attribs.c;fp=yaffs_attribs.c;h=5eb7c5a94a45704c30e7a5cb674bc07444d7c1dd;hb=21b2dedaa32ab309f6d1daec966528b7586bd207;hp=711941f137f554a2a32cd32edafd60049f7bc435;hpb=bf0323aab4b4a577fcb2dafc573b443aabcedc02;p=yaffs2.git diff --git a/yaffs_attribs.c b/yaffs_attribs.c index 711941f..5eb7c5a 100644 --- 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;