summaryrefslogtreecommitdiffstats
path: root/crypto/crc32c.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-01-07 16:47:59 +0100
committerMike Snitzer <snitzer@redhat.com>2014-01-08 03:05:17 +0100
commit12c91a5c2d2a8e8cc40a9552313e1e7b0a2d9ee3 (patch)
tree50fea3837d4985ea813ea986bfb3317ee37fb668 /crypto/crc32c.c
parentdm: wait until embedded kobject is released before destroying a device (diff)
downloadlinux-12c91a5c2d2a8e8cc40a9552313e1e7b0a2d9ee3.tar.xz
linux-12c91a5c2d2a8e8cc40a9552313e1e7b0a2d9ee3.zip
dm space map common: make sure new space is used during extend
When extending a low level space map we should update nr_blocks at the start so the new space is used for the index entries. Otherwise extend can fail, e.g.: sm_metadata_extend call sequence that fails: -> sm_ll_extend -> dm_tm_new_block -> dm_sm_new_block -> sm_bootstrap_new_block => returns -ENOSPC because smm->begin == smm->ll.nr_blocks Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions