From: Hiroaki SHIMODA Date: Wed, 30 May 2012 12:25:37 +0000 (+0000) Subject: bql: Avoid possible inconsistent calculation. X-Git-Tag: v3.5-rc1~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914bec1011a25f65cdc94988a6f974bfb9a3c10d;p=pandora-kernel.git bql: Avoid possible inconsistent calculation. dql->num_queued could change while processing dql_completed(). To provide consistent calculation, added an on stack variable. Signed-off-by: Hiroaki SHIMODA Cc: Tom Herbert Cc: Eric Dumazet Cc: Denys Fedoryshchenko Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed