diff options
| author | Christoph Hellwig <[email protected]> | 2020-05-27 05:24:19 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-05-27 11:21:23 +0000 |
| commit | 524f9ffd6a4d3622aa48ca286ff85a30ed1cdbcf (patch) | |
| tree | e04d89fd97ee32e1d7d66eaa881c0c035d1db0f4 /drivers/fpga/zynq-fpga.c | |
| parent | block: use __this_cpu_add() instead of access by smp_processor_id() (diff) | |
| download | kernel-524f9ffd6a4d3622aa48ca286ff85a30ed1cdbcf.tar.gz kernel-524f9ffd6a4d3622aa48ca286ff85a30ed1cdbcf.zip | |
block: reduce part_stat_lock() scope
We only need the stats lock (aka preempt_disable()) for updating the
states, not for looking up or dropping the hd_struct reference.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Konstantin Khlebnikov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
