diff options
author | Joe Thornber <ejt@redhat.com> | 2013-12-04 15:05:36 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2013-12-10 16:35:12 -0500 |
commit | 020cc3b5e28c2e24f59f53a9154faf08564f308e (patch) | |
tree | d4bbed0ba0c780785187c9954658c723ed1973ac /drivers/md/dm-uevent.h | |
parent | 4a02b34e0cf1d0d0dd3737702841da4bf615a50a (diff) | |
download | linux-020cc3b5e28c2e24f59f53a9154faf08564f308e.tar.bz2 |
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
Diffstat (limited to 'drivers/md/dm-uevent.h')
0 files changed, 0 insertions, 0 deletions