projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git]
/
block
/
blk-ioc.c
diff --git
a/block/blk-ioc.c
b/block/blk-ioc.c
index 242df01413f6ee902b50b028b228b31330e0c1f2..1a27f45ec776a4e0a951a89de3185dc2ead26a42 100644
(file)
--- a/
block/blk-ioc.c
+++ b/
block/blk-ioc.c
@@
-68,7
+68,7
@@
static void ioc_destroy_icq(struct io_cq *icq)
* under queue_lock. If it's not pointing to @icq now, it never
* will. Hint assignment itself can race safely.
*/
* under queue_lock. If it's not pointing to @icq now, it never
* will. Hint assignment itself can race safely.
*/
- if (rcu_
dereference_raw
(ioc->icq_hint) == icq)
+ if (rcu_
access_pointer
(ioc->icq_hint) == icq)
rcu_assign_pointer(ioc->icq_hint, NULL);
ioc_exit_icq(icq);
rcu_assign_pointer(ioc->icq_hint, NULL);
ioc_exit_icq(icq);