diff options
author | Joe Thornber <ejt@redhat.com> | 2014-03-27 14:13:23 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-03-27 16:56:23 -0400 |
commit | 5a32083d03fb543f63489b2946c4948398579ba0 (patch) | |
tree | 4b14059d093b846876fa1203f31c0e31f23bcfe1 /drivers/md/dm.h | |
parent | a9d45396f5956d0b615c7ae3b936afd888351a47 (diff) | |
download | blackbird-op-linux-5a32083d03fb543f63489b2946c4948398579ba0.tar.gz blackbird-op-linux-5a32083d03fb543f63489b2946c4948398579ba0.zip |
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 <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org # drop dm-era and dm-cache changes as needed
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions