dm thin: initialize dm_thin_new_mapping returned by get_next_mapping
authorMike Snitzer <snitzer@redhat.com>
Tue, 17 Dec 2013 18:19:11 +0000 (13:19 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 7 Jan 2014 15:10:03 +0000 (10:10 -0500)
commit16961b042db8cc5cf75d782b4255193ad56e1d4f
tree2e92062b1e8ed6ac4549707f6ce686ab19d36e1e
parent319e2e3f63c348a9b66db4667efa73178e18b17d
dm thin: initialize dm_thin_new_mapping returned by get_next_mapping

As additional members are added to the dm_thin_new_mapping structure
care should be taken to make sure they get initialized before use.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Cc: stable@vger.kernel.org
drivers/md/dm-thin.c