From: Joe Thornber Date: Tue, 25 Nov 2014 13:14:57 +0000 (+0000) Subject: dm cache: fix a harmless race when working out if a block is discarded X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~22^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43c32bf2b0c16d292f4f214dfd16f9cb205e4e81;p=pandora-kernel.git dm cache: fix a harmless race when working out if a block is discarded It is more correct to hold the cell before checking the discard state. These flags are only used as hints to the policy so this change will have negligable effect. Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed