summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-07-11 22:02:22 +1000
committerNeil Brown <neilb@suse.de>2008-07-11 22:02:22 +1000
commitd71f9f88d74166dcdef743a057f9222d64d2d509 (patch)
treeaf2c0a93855347bce2fc24ecffa27be035bc8ef0 /sound/pci
parentdf5b20cf68f9c90204c5fd36b7b090635cee3cdf (diff)
downloadlinux-stable-d71f9f88d74166dcdef743a057f9222d64d2d509.tar.gz
linux-stable-d71f9f88d74166dcdef743a057f9222d64d2d509.tar.bz2
linux-stable-d71f9f88d74166dcdef743a057f9222d64d2d509.zip
md: Make update_size() take the number of sectors.
Changing the internal representations of sizes of raid devices from 1K blocks to sector counts (512B units) is desirable because it allows to get rid of many divisions/multiplications and unnecessary casts that are present in the current code. This patch is a first step in this direction. It replaces the old 1K-based "size" argument of update_size() by "num_sectors" and fixes up its two callers. Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions