From: Joe Thornber Date: Fri, 28 Nov 2014 09:48:25 +0000 (+0000) Subject: dm cache: fix spurious cell_defer when dealing with partial block at end of device X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~22^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f824a2af3dfbbb766c02e19df21f985bceadf0ee;p=pandora-kernel.git dm cache: fix spurious cell_defer when dealing with partial block at end of device We never bother caching a partial block that is at the back end of the origin device. No cell ever gets locked, but the calling code was assuming it was and trying to release it. Now the code only releases if the cell has been set to a non NULL value. Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Cc: stable@vger.kernel.org --- Reading git-diff-tree failed