From: Joe Thornber Date: Thu, 27 Mar 2014 14:13:23 +0000 (+0000) Subject: dm: take care to copy the space map roots before locking the superblock X-Git-Tag: v3.15-rc1~69^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a32083d03fb543f63489b2946c4948398579ba0;p=pandora-kernel.git dm: take care to copy the space map roots before locking the superblock In theory copying the space map root can fail, but in practice it never does because we're careful to check what size buffer is needed. But make certain we're able to copy the space map roots before locking the superblock. Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Cc: stable@vger.kernel.org # drop dm-era and dm-cache changes as needed --- Reading git-diff-tree failed