summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <stf_xl@wp.pl>2014-02-08 23:18:43 +0100
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:16:36 -0400
commit51b98effa4c673feaa7237ba87645ea60d8f3578 (patch)
tree9549c3c23d36c058dceeddb9b66d830cbacc86dc /fs/btrfs/file.c
parentdcfd5ad2fc3337a959873e9d20ca33ad9809aa90 (diff)
downloadlinux-51b98effa4c673feaa7237ba87645ea60d8f3578.tar.gz
linux-51b98effa4c673feaa7237ba87645ea60d8f3578.tar.bz2
linux-51b98effa4c673feaa7237ba87645ea60d8f3578.zip
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>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions