Skip to content
Commit 7ccdbf85 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm thin metadata: remove needless work from __commit_transaction



Commit 5a32083d ("dm: take care to copy the space map roots before
locking the superblock") properly removed the calls to dm_sm_root_size()
from __write_initial_superblock().  But the dm_sm_root_size() calls were
left dangling in __commit_transaction().

Fixes: 5a32083d ("dm: take care to copy the space map roots before locking the superblock")
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent f21c601a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment