commit | 51b98effa4c673feaa7237ba87645ea60d8f3578 | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <stf_xl@wp.pl> | Sat Feb 08 23:18:43 2014 +0100 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:16:36 2014 -0400 |
tree | 9549c3c23d36c058dceeddb9b66d830cbacc86dc | |
parent | dcfd5ad2fc3337a959873e9d20ca33ad9809aa90 [diff] |
btrfs: always choose work from prio_head first In case we do not refill, we can overwrite cur pointer from prio_head by one from not prioritized head, what looks as something that was not intended. This change make we always take works from prio_head first until it's not empty. Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl> Signed-off-by: Josef Bacik <jbacik@fb.com>