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

From: Charles Manning
Date: Thu Dec 02 2010 - 14:20:30 EST


On Friday 03 December 2010 07:14:04 Marcin Slusarz wrote:
> 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.

Thanks.

I shall fix this in yaffs git right away.

The power of open source!
--
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/