X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_attribs.c;h=5eb7c5a94a45704c30e7a5cb674bc07444d7c1dd;hp=711941f137f554a2a32cd32edafd60049f7bc435;hb=5bc32d099123b2e0e5f27f7421caa5413d3211f0;hpb=4e188b08c5531f99f73383a85251e03a1e667b26 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;