projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'dlm-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm
[cascardo/linux.git]
/
include
/
linux
/
list_nulls.h
diff --git
a/include/linux/list_nulls.h
b/include/linux/list_nulls.h
index
f266661
..
444d2b1
100644
(file)
--- a/
include/linux/list_nulls.h
+++ b/
include/linux/list_nulls.h
@@
-76,7
+76,8
@@
static inline void __hlist_nulls_del(struct hlist_nulls_node *n)
{
struct hlist_nulls_node *next = n->next;
struct hlist_nulls_node **pprev = n->pprev;
- *pprev = next;
+
+ WRITE_ONCE(*pprev, next);
if (!is_a_nulls(next))
next->pprev = pprev;
}