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