From: Greg KH on
2.6.32-stable review patch. If anyone has any objections, please let us know.


From: Dave Airlie <airlied(a)>

commit 88be12c440cfa2fa3f5be83507360aac9ea1c54e upstream.

Otherwise we can get an oops if the user has no get_ref/put_ref

Signed-off-by: Dave Airlie <airlied(a)>
Signed-off-by: David Howells <dhowells(a)>
Signed-off-by: Linus Torvalds <torvalds(a)>
Cc: Kurt Garloff <garloff(a)>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)>

kernel/slow-work.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/slow-work.c
+++ b/kernel/slow-work.c
@@ -640,7 +640,7 @@ int delayed_slow_work_enqueue(struct del
goto cancelled;

/* the timer holds a reference whilst it is pending */
- ret = work->ops->get_ref(work);
+ ret = slow_work_get_ref(work);
if (ret < 0)
goto cant_get_ref;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at