diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2014-01-02 19:52:20 +0900 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-01-02 12:18:04 +0000 |
commit | 0b3a2c9968d453d5827e635a6f3d69129f70af66 (patch) | |
tree | b5c0d6cee7f88e7d6dfc99afc51ec2be066906a8 /fs/ceph/cache.c | |
parent | GFS2: Wait for async DIO in glock state changes (diff) | |
download | linux-dev-0b3a2c9968d453d5827e635a6f3d69129f70af66.tar.xz linux-dev-0b3a2c9968d453d5827e635a6f3d69129f70af66.zip |
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: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/ceph/cache.c')
0 files changed, 0 insertions, 0 deletions