X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_fs.c;h=77b51cf9cf655086ba4bb636b43f055488a5839e;hp=36cbd4edc1226ef393143b7ba93df0cde66a7ec4;hb=428ff5aa8d7033446d242f814ee4e7344959917a;hpb=5ea7d7c7d87b076ac176282bff6eeddf329da2c4 diff --git a/yaffs_fs.c b/yaffs_fs.c index 36cbd4e..77b51cf 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -2227,7 +2227,7 @@ static int yaffs_BackgroundThread(void *data) if(time_before(expires,now)) expires = now + HZ; - init_timer(&timer); + init_timer_on_stack(&timer); timer.expires = expires+1; timer.data = (unsigned long) current; timer.function = yaffs_background_waker;