Files
linux/drivers
Dan Carpenter 81f250e1cf dm space map metadata: fix sm_bootstrap_get_nr_blocks()
commit c1c6156fe4 upstream.

This function isn't right and it causes a static checker warning:

	drivers/md/dm-thin.c:3016 maybe_resize_data_dev()
	error: potentially using uninitialized 'sb_data_size'.

It should set "*count" and return zero on success the same as the
sm_metadata_get_nr_blocks() function does earlier.

Fixes: 3241b1d3e0 ('dm: add persistent data library')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-08 09:58:15 -08:00
..
2013-12-08 07:29:25 -08:00
2014-11-21 09:22:52 -08:00
2014-03-06 21:30:14 -08:00
2014-04-14 06:42:18 -07:00
2014-02-20 11:06:11 -08:00
2014-12-06 15:05:49 -08:00
2014-04-03 12:01:05 -07:00
2014-11-14 08:47:56 -08:00