diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-11-21 00:14:30 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-12-10 19:42:49 +0100 |
commit | ed77e80e14a3cd55c73848b9e8043020e717ce12 (patch) | |
tree | bdef0dabba2a4dcf399d46a01d17e418dce41f95 /drivers/scsi/qla4xxx | |
parent | proc/fd: In tid_fd_mode use task_lookup_fd_rcu (diff) | |
download | linux-ed77e80e14a3cd55c73848b9e8043020e717ce12.tar.xz linux-ed77e80e14a3cd55c73848b9e8043020e717ce12.zip |
kcmp: In get_file_raw_ptr use task_lookup_fd_rcu
Modify get_file_raw_ptr to use task_lookup_fd_rcu. The helper
task_lookup_fd_rcu does the work of taking the task lock and verifying
that task->files != NULL and then calls files_lookup_fd_rcu. So let
use the helper to make a simpler implementation of get_file_raw_ptr.
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Link: https://lkml.kernel.org/r/20201120231441.29911-13-ebiederm@xmission.com
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'drivers/scsi/qla4xxx')
0 files changed, 0 insertions, 0 deletions