aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2020-12-06 15:56:22 +0000
committerDavid Sterba <[email protected]>2020-12-18 13:59:54 +0000
commit8fc058597a283e9a37720abb0e8d68e342b9387d (patch)
treebd5ab32fd2d09451a9ecf9df3bd0dae7acae75a5 /net/switchdev/switchdev.c
parentbtrfs: fix racy access to discard_ctl data (diff)
downloadkernel-8fc058597a283e9a37720abb0e8d68e342b9387d.tar.gz
kernel-8fc058597a283e9a37720abb0e8d68e342b9387d.zip
btrfs: merge critical sections of discard lock in workfn
btrfs_discard_workfn() drops discard_ctl->lock just to take it again in a moment in btrfs_discard_schedule_work(). Avoid that and also reuse ktime. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions