X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_attribs.c;h=a9ced27250aa0f86f4c079b8d5227b861dc61eba;hp=711941f137f554a2a32cd32edafd60049f7bc435;hb=be9d4bef4a2cdd8abfed4c36fbaa1cc6584e2edd;hpb=4e188b08c5531f99f73383a85251e03a1e667b26 diff --git a/yaffs_attribs.c b/yaffs_attribs.c index 711941f..a9ced27 100644 --- a/yaffs_attribs.c +++ b/yaffs_attribs.c @@ -1,8 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2011 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -22,6 +21,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;