aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2010-08-04 15:59:14 +0000
committerLinus Torvalds <[email protected]>2010-08-04 18:17:10 +0000
commit694f690d27dadccc8cb9d90532e76593b61fe098 (patch)
treeea641e53ae530d0d3708fbfcab8109cc5e840d21 /fs/jbd/commit.c
parentblock_dev: always serialize exclusive open attempts (diff)
downloadkernel-694f690d27dadccc8cb9d90532e76593b61fe098.tar.gz
kernel-694f690d27dadccc8cb9d90532e76593b61fe098.zip
CRED: Fix RCU warning due to previous patch fixing __task_cred()'s checks
Commit 8f92054e7ca1 ("CRED: Fix __task_cred()'s lockdep check and banner comment") fixed the lockdep checks on __task_cred(). This has shown up a place in the signalling code where a lock should be held - namely that check_kill_permission() requires its callers to hold the RCU lock. Fix group_send_sig_info() to get the RCU read lock around its call to check_kill_permission(). Without this patch, the following warning can occur: =================================================== [ INFO: suspicious rcu_dereference_check() usage. ] --------------------------------------------------- kernel/signal.c:660 invoked rcu_dereference_check() without protection! ... Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: David Howells <[email protected]> Acked-by: Oleg Nesterov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions