diff options
author | NeilBrown <neilb@suse.de> | 2010-10-19 10:03:39 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-10-28 17:32:26 +1100 |
commit | 57dab0bdf689d42972975ec646d862b0900a4bf3 (patch) | |
tree | d136f69b8a68850e40844397ebaffde31787c988 /drivers/md/md.c | |
parent | 4b532c9b8c87eb8e51605c4d08dfb5139c758dc5 (diff) | |
download | op-kernel-dev-57dab0bdf689d42972975ec646d862b0900a4bf3.zip op-kernel-dev-57dab0bdf689d42972975ec646d862b0900a4bf3.tar.gz |
md: use sector_t in bitmap_get_counter
bitmap_get_counter returns the number of sectors covered
by the counter in a pass-by-reference variable.
In some cases this can be very large, so make it a sector_t
for safety.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions