commit | 7ccdbf85d3b2237cdbdafe6a47673dbdfab4b7a2 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Mon Jun 18 11:57:51 2018 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Jun 22 14:51:11 2018 -0400 |
tree | 69afe72f69b3114b8eac18d301abba1b8ac8e316 | |
parent | f21c601a2bb319ec19eb4562eadc7797d90fd90e [diff] |
dm thin metadata: remove needless work from __commit_transaction Commit 5a32083d03fb5 ("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: 5a32083d03fb5 ("dm: take care to copy the space map roots before locking the superblock") Signed-off-by: Mike Snitzer <snitzer@redhat.com>