Re: [PATCH 1/8] Add yaffs2 file system: allocator, attribs, bitmapcode

From: Marcin Slusarz
Date: Thu Dec 02 2010 - 13:15:01 EST


On Wed, Dec 01, 2010 at 10:57:27AM +1300, Charles Manning wrote:
> +void yaffs_load_current_time(struct yaffs_obj *obj, int do_a, int do_c)
> +{
> + obj->yst_mtime = Y_CURRENT_TIME;
^
> + if (do_a)
> + obj->yst_atime = obj->yst_atime;
^ ^
> + if (do_c)
> + obj->yst_ctime = obj->yst_atime;
^ ^
> +}
> +

Funny bug.

Marcin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/