]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
md: raid0 create_strip_zones(): Make two local variables sector-based.
authorAndre Noll <maan@systemlinux.org>
Thu, 8 Jan 2009 21:31:07 +0000 (08:31 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 8 Jan 2009 21:31:07 +0000 (08:31 +1100)
commit6b8796cc3decb43c7c67a13a0699b6a21b754c78
tree6096c9da13baa3983d96f69f5b3dbcd099d35c49
parent6199d3db0fc34f8ada895879d04a353a6ae632bc
md: raid0 create_strip_zones(): Make two local variables sector-based.

current_offset and curr_zone_offset stored the corresponding offsets
as 1K quantities. Rename them to current_start and curr_zone_start
to match the naming of struct strip_zone and store the offsets as
sector counts.

Also, add KERN_INFO to the printk() affected by this change to make
checkpatch happy.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid0.c