projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a8e38
)
jffs2: use to_delayed_work
author
Geliang Tang
<geliangtang@163.com>
Fri, 1 Jan 2016 14:06:27 +0000
(22:06 +0800)
committer
Brian Norris
<computersforpeace@gmail.com>
Wed, 6 Jan 2016 23:16:46 +0000
(15:16 -0800)
Use to_delayed_work() instead of open-coding it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
fs/jffs2/wbuf.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jffs2/wbuf.c
b/fs/jffs2/wbuf.c
index f3a4857ff0718794b967836e796b8f9c9e345ae7..5a3da3f52908ff8f89ad0f8985e1fe22381bb2fe 100644
(file)
--- a/
fs/jffs2/wbuf.c
+++ b/
fs/jffs2/wbuf.c
@@
-1153,7
+1153,7
@@
static struct jffs2_sb_info *work_to_sb(struct work_struct *work)
{
struct delayed_work *dwork;
- dwork =
container_of(work, struct delayed_work,
work);
+ dwork =
to_delayed_work(
work);
return container_of(dwork, struct jffs2_sb_info, wbuf_dwork);
}