From: Stanislaw Gruszka Date: Sat, 8 Feb 2014 22:18:43 +0000 (+0100) Subject: btrfs: always choose work from prio_head first X-Git-Tag: v3.15-rc1~96^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b98effa4c673feaa7237ba87645ea60d8f3578;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik --- Reading git-diff-tree failed