Skip to content
Commit 0b3a2c99 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Steven Whitehouse
Browse files

GFS2: Fix unsafe dereference in dump_holder()



GLOCK_BUG_ON() might call this function without RCU read lock. Make sure that
RCU read lock is held when using task_struct returned from pid_task().

Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 582d2f7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment