summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-21 19:04:05 +0200
committerPaul E. McKenney <paulmck@kernel.org>2020-06-17 13:58:13 -0700
commit69da1f0d776a45fe0f188fa9eafcd3de8c83f692 (patch)
tree6cb8393f69a53edeee5d8acbfb69641bef273271 /net/core
parent85dd56aa8e4ddf50c078fd57171d8e5ad8a62068 (diff)
downloadlinux-next-69da1f0d776a45fe0f188fa9eafcd3de8c83f692.tar.gz
docs: RCU: Convert rculist_nulls.txt to ReST
- Add a SPDX header; - Adjust document title; - Some whitespace fixes and new line breaks; - Mark literal blocks as such; - Add it to RCU/index.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index 6c4acf1f0220..37229cf0c344 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1972,7 +1972,7 @@ struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority)
/*
* Before updating sk_refcnt, we must commit prior changes to memory
- * (Documentation/RCU/rculist_nulls.txt for details)
+ * (Documentation/RCU/rculist_nulls.rst for details)
*/
smp_wmb();
refcount_set(&newsk->sk_refcnt, 2);
@@ -3033,7 +3033,7 @@ void sock_init_data(struct socket *sock, struct sock *sk)
sk_rx_queue_clear(sk);
/*
* Before updating sk_refcnt, we must commit prior changes to memory
- * (Documentation/RCU/rculist_nulls.txt for details)
+ * (Documentation/RCU/rculist_nulls.rst for details)
*/
smp_wmb();
refcount_set(&sk->sk_refcnt, 1);