projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5a327c
)
yaffs: Use init_timer_on_stack for timer on stack
author
Arve Hjønnevåg
<arve@android.com>
Thu, 17 Jun 2010 03:34:31 +0000
(20:34 -0700)
committer
Colin Cross
<ccross@android.com>
Thu, 30 Sep 2010 00:49:42 +0000
(17:49 -0700)
Change-Id: I517b94a1ca22c1690fd6421cf9892a05039a3def
Signed-off-by: Arve Hjønnevåg <arve@android.com>
fs/yaffs2/yaffs_fs.c
patch
|
blob
|
history
diff --git
a/fs/yaffs2/yaffs_fs.c
b/fs/yaffs2/yaffs_fs.c
index b1d87b6d50c1f90fd664270a2f95a44e17039512..11eca48d064f8178e4dbe3ee446cd25e00afaed1 100644
(file)
--- a/
fs/yaffs2/yaffs_fs.c
+++ b/
fs/yaffs2/yaffs_fs.c
@@
-2083,7
+2083,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;