Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230655
b: refs/heads/master
c: 13ae864
h: refs/heads/master
i:
  230653: cabb7e1
  230651: bf9b174
  230647: 6f5506c
  230639: 8ab78ea
  230623: 90a2d57
  230591: da825cf
  230527: d1c7926
  230399: 650b1a5
v: v3
  • Loading branch information
Rémi Rérolle authored and NeilBrown committed Jan 13, 2011
1 parent c99d3f7 commit 09898ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 23ddff3792f61193695114c68d6ebd57e974c4f8
refs/heads/master: 13ae864bc86ff65547ffe7e966b6433a0d0edb8a
4 changes: 2 additions & 2 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -3918,7 +3918,7 @@ static struct md_sysfs_entry md_sync_speed = __ATTR_RO(sync_speed);
static ssize_t
sync_completed_show(mddev_t *mddev, char *page)
{
unsigned long max_sectors, resync;
unsigned long long max_sectors, resync;

if (!test_bit(MD_RECOVERY_RUNNING, &mddev->recovery))
return sprintf(page, "none\n");
Expand All @@ -3929,7 +3929,7 @@ sync_completed_show(mddev_t *mddev, char *page)
max_sectors = mddev->dev_sectors;

resync = mddev->curr_resync_completed;
return sprintf(page, "%lu / %lu\n", resync, max_sectors);
return sprintf(page, "%llu / %llu\n", resync, max_sectors);
}

static struct md_sysfs_entry md_sync_completed = __ATTR_RO(sync_completed);
Expand Down

0 comments on commit 09898ce

Please sign in to comment.