From: Eric Seppanen Date: Tue, 23 Aug 2011 19:25:12 +0000 (+0200) Subject: block: Fix queue_flag update when rq_affinity goes from 2 to 1 X-Git-Tag: v3.1-rc7~3^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8037d49835482c9534a9a07bed0d0ea831135ae;p=pandora-kernel.git block: Fix queue_flag update when rq_affinity goes from 2 to 1 Commit 5757a6d76cdf added the QUEUE_FLAG_SAME_FORCE flag, but fails to clear that flag when the current state is '2' (SAME_COMP + SAME_FORCE) and the new state is '1' (SAME_COMP). Acked-by: Dan Williams Reviewed-by: Roland Dreier Signed-off-by: Eric Seppanen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed