Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268035
b: refs/heads/master
c: df977d6
h: refs/heads/master
i:
  268033: 140b2fb
  268031: 5af5175
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 29, 2011
1 parent 722fc3a commit ad19e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1eaaddf93853b222a08ec37d4d8c4edc1085d312
refs/heads/master: df977d6c90632b3868055862262529007019d4ef
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static inline struct storvsc_device *alloc_stor_device(struct hv_device *device)

/* Set to 2 to allow both inbound and outbound traffics */
/* (ie get_out_stor_device() and get_in_stor_device()) to proceed. */
atomic_cmpxchg(&stor_device->ref_count, 0, 2);
atomic_set(&stor_device->ref_count, 2);

init_waitqueue_head(&stor_device->waiting_to_drain);
stor_device->device = device;
Expand Down

0 comments on commit ad19e50

Please sign in to comment.