aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-zero.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-12-04 15:05:36 -0500
committerMike Snitzer <snitzer@redhat.com>2013-12-10 16:35:12 -0500
commit020cc3b5e28c2e24f59f53a9154faf08564f308e (patch)
treed4bbed0ba0c780785187c9954658c723ed1973ac /drivers/md/dm-zero.c
parentdm thin: switch to read-only mode if metadata space is exhausted (diff)
downloadlinux-dev-020cc3b5e28c2e24f59f53a9154faf08564f308e.tar.xz
linux-dev-020cc3b5e28c2e24f59f53a9154faf08564f308e.zip
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-zero.c')
0 files changed, 0 insertions, 0 deletions