Documentation: seqlock: s/LOCKTYPE/LOCKNAME/g
authorAhmed S. Darwish <a.darwish@linutronix.de>
Sun, 6 Dec 2020 16:21:41 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:11 +0000 (11:54 +0100)
commitd03b710d8eae5479a4c24cfadbca4bdb6bd05328
tree2cbade6a6bc2d07117aebf7513b31ff12e7a24ab
parent29563a73819a93f44d0311c3ac59d26d907fb4ca
Documentation: seqlock: s/LOCKTYPE/LOCKNAME/g

commit cf48647243cc28d15280600292db5777592606c5 upstream.

Sequence counters with an associated write serialization lock are called
seqcount_LOCKNAME_t. Fix the documentation accordingly.

While at it, remove a paragraph that inappropriately discussed a
seqlock.h implementation detail.

Fixes: 6dd699b13d53 ("seqlock: seqcount_LOCKNAME_t: Standardize naming convention")
Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20201206162143.14387-2-a.darwish@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/locking/seqlock.rst