diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-03-28 22:49:20 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-03-28 22:49:20 -0800 |
| commit | ac84aba246c0addac861b203fda2d8eca87c6503 (patch) | |
| tree | 86469e08d0db7d08fae9c20f0c2bc1b2482b34da /include/linux/raid | |
| parent | 454104ff6175364cf49caf35436738d3d72ab73f (diff) | |
[PATCH] md: Convert a number or "unsigned long"s to "sector_t"s
From: NeilBrown <neilb@cse.unsw.edu.au>
This helps raid5 work on at least 1 very large array..
Thanks to Evan Felix <evan.felix@pnl.gov>
Diffstat (limited to 'include/linux/raid')
| -rw-r--r-- | include/linux/raid/md_k.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index 1e0357ee40d8..bea64b0fb6c1 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h @@ -212,9 +212,9 @@ struct mddev_s struct mdk_thread_s *thread; /* management thread */ struct mdk_thread_s *sync_thread; /* doing resync or reconstruct */ - unsigned long curr_resync; /* blocks scheduled */ + sector_t curr_resync; /* blocks scheduled */ unsigned long resync_mark; /* a recent timestamp */ - unsigned long resync_mark_cnt;/* blocks written at resync_mark */ + sector_t resync_mark_cnt;/* blocks written at resync_mark */ /* recovery/resync flags * NEEDED: we might need to start a resync/recover |
