summaryrefslogtreecommitdiff
path: root/drivers/md/dm-thin-metadata.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-12-04 20:05:36 (GMT)
committerMike Snitzer <snitzer@redhat.com>2013-12-10 21:35:12 (GMT)
commit020cc3b5e28c2e24f59f53a9154faf08564f308e (patch)
treed4bbed0ba0c780785187c9954658c723ed1973ac /drivers/md/dm-thin-metadata.c
parent4a02b34e0cf1d0d0dd3737702841da4bf615a50a (diff)
downloadlinux-020cc3b5e28c2e24f59f53a9154faf08564f308e.tar.xz
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-thin-metadata.c')
0 files changed, 0 insertions, 0 deletions