diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-27 08:24:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-27 14:21:23 +0300 |
commit | 524f9ffd6a4d3622aa48ca286ff85a30ed1cdbcf (patch) | |
tree | e04d89fd97ee32e1d7d66eaa881c0c035d1db0f4 /fs | |
parent | b2d76adbc0828e0f108567973bcc500ed1abc139 (diff) | |
download | linux-524f9ffd6a4d3622aa48ca286ff85a30ed1cdbcf.tar.xz |
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 <hch@lst.de>
Reviewed-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions