slow-work: use get_ref wrapper instead of directly calling get_ref
authorDave Airlie <airlied@redhat.com>
Mon, 29 Mar 2010 11:01:50 +0000 (12:01 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Mar 2010 16:13:30 +0000 (09:13 -0700)
commit88be12c440cfa2fa3f5be83507360aac9ea1c54e
treeec8593b4f626debde062eda917355afc35573684
parent376a21ff42ba71167afe7a47aeb1ca19470cf580
slow-work: use get_ref wrapper instead of directly calling get_ref

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

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/slow-work.c