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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:50:17 +0000 (13:50 -0800)
commit9d673627997147ab50c384a5c5b759a5f95d6f38
tree8cdfc0df48f1e84d51d129ea28ecded54d99ac70
parent0905e88ed5ec3eaa249b7693e4a06fa9f38b9c1a
dm thin: initialize dm_thin_new_mapping returned by get_next_mapping

commit 16961b042db8cc5cf75d782b4255193ad56e1d4f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-thin.c