From: Joe Thornber Date: Wed, 4 Dec 2013 20:05:36 +0000 (-0500) Subject: dm thin: always fallback the pool mode if commit fails X-Git-Tag: v3.13-rc4~11^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=020cc3b5e28c2e24f59f53a9154faf08564f308e;p=pandora-kernel.git dm thin: always fallback the pool mode if commit fails Rename commit_or_fallback() to commit(). Now all previous calls to commit() will trigger the pool mode to fallback if the commit fails. Also, check the error returned from commit() in alloc_data_block(). Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Cc: stable@vger.kernel.org --- Reading git-diff-tree failed