lkml.org 
[lkml]   [2010]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/8] Add yaffs2 file system: allocator, attribs, bitmap code
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



\
 
 \ /
  Last update: 2010-12-02 19:17    [W:1.150 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site