aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-04-21 09:07:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-21 10:00:00 -0700
commitd76c8420c3cf8e468901b0bd58306637335c98ea (patch)
tree1dd7c5f1f19fb827968343e08e2cc5ed87358f05 /drivers/md
parent83425eee85c6235392e3fe865faf533a48b60ab3 (diff)
downloadkernel_samsung_smdk4412-d76c8420c3cf8e468901b0bd58306637335c98ea.zip
kernel_samsung_smdk4412-d76c8420c3cf8e468901b0bd58306637335c98ea.tar.gz
kernel_samsung_smdk4412-d76c8420c3cf8e468901b0bd58306637335c98ea.tar.bz2
raid5: fix build error, sector_t usage
Change <sectors> from unsigned long long to sector_t. This matches its source field. ERROR: "__udivdi3" [drivers/md/raid456.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/raid5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index fd50011..49bf5f8 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -5678,7 +5678,7 @@ static void raid5_quiesce(mddev_t *mddev, int state)
static void *raid45_takeover_raid0(mddev_t *mddev, int level)
{
struct raid0_private_data *raid0_priv = mddev->private;
- unsigned long long sectors;
+ sector_t sectors;
/* for raid0 takeover only one zone is supported */
if (raid0_priv->nr_strip_zones > 1) {