summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-09-01 16:14:28 -0600
committerDavid Sterba <dsterba@suse.com>2017-10-30 12:27:55 +0100
commit69cc7151ee8055e6bf7241a21211231a1a208abd (patch)
treea1c3a5fde1456ea7996e09438cf1decd54fa095c /fs/btrfs/tree-log.c
parent219d33b26ac498ca472a02b9217b4e450474fc90 (diff)
downloadop-kernel-dev-69cc7151ee8055e6bf7241a21211231a1a208abd.zip
op-kernel-dev-69cc7151ee8055e6bf7241a21211231a1a208abd.tar.gz
Btrfs: move finish_wait out of the loop
If we're still going to wait after schedule(), we don't have to do finish_wait() to remove our %wait_queue_entry since prepare_to_wait() won't add the same %wait_queue_entry twice. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud