commit | 020cc3b5e28c2e24f59f53a9154faf08564f308e | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Wed Dec 04 15:05:36 2013 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Dec 10 16:35:12 2013 -0500 |
tree | d4bbed0ba0c780785187c9954658c723ed1973ac | |
parent | 4a02b34e0cf1d0d0dd3737702841da4bf615a50a [diff] |
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 <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org