aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/uwb.h
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2008-10-27 11:22:46 -0400
committerDavid Vrabel <david.vrabel@csr.com>2008-10-28 08:07:23 -0400
commitcae1c11414912bf77a62aebd65ced321f0b9da51 (patch)
tree1f83b9b82aec7f86740f8b1f7f5e8be1c6cf3196 /include/linux/uwb.h
parentb09ac64b7b2d93efab3998033588f5cb0e470ccf (diff)
uwb: reference count reservations
Reference counting the struct uwb_rsv's is safer and easier to get right than the transferring ownership of the structures from the PAL to reservation manager. This fixes an oops in the debug PAL after a reservation timed out. Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'include/linux/uwb.h')
-rw-r--r--include/linux/uwb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/uwb.h b/include/linux/uwb.h
index f9ccbd9a2ced..010ee708304d 100644
--- a/include/linux/uwb.h
+++ b/include/linux/uwb.h
@@ -201,6 +201,7 @@ struct uwb_rsv {
201 struct uwb_rc *rc; 201 struct uwb_rc *rc;
202 struct list_head rc_node; 202 struct list_head rc_node;
203 struct list_head pal_node; 203 struct list_head pal_node;
204 struct kref kref;
204 205
205 struct uwb_dev *owner; 206 struct uwb_dev *owner;
206 struct uwb_rsv_target target; 207 struct uwb_rsv_target target;