diff options
author | Kees Cook <keescook@chromium.org> | 2016-08-17 14:42:09 -0700 |
---|---|---|
committer | Satya Tangirala <satyat@google.com> | 2018-09-21 14:50:55 -0700 |
commit | f0b68d746af4aa4988463b24c6f5d0f97f0aaa82 (patch) | |
tree | 3c6ae19931b530f6a5deb366523269e5dbb6a6d2 /fs/eventpoll.c | |
parent | 68e051d4a782767639205e447c083d08c51bc028 (diff) |
UPSTREAM: rculist: Consolidate DEBUG_LIST for list_add_rcu()
(cherry-picked from 54acd4397d7e7a725c94101180cd9f38ef701acc)
This commit consolidates the debug checking for list_add_rcu() into the
new single __list_add_valid() debug function. Notably, this commit fixes
the sanity check that was added in commit 17a801f4bfeb ("list_debug:
WARN for adding something already in the list"), which wasn't checking
RCU-protected lists.
Change-Id: I1f7e169d4dc45bbc9938087a171c5df747344414
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Satya Tangirala <satyat@google.com>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions