diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-07-17 19:28:16 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-17 19:28:16 -0700 |
| commit | c56671f74801b1ec75dc80198936426e7d917919 (patch) | |
| tree | d6eb33658bf629862eb9916565457e0d63815ae3 /include/linux/blkdev.h | |
| parent | bd5fe9767c072a0346831dac31a4783e53e98536 (diff) | |
[PATCH] fix as-iosched do_div()
For CONFIG_LBD=n case it was passing a u32 into do_div().
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 2e7f92aa1dc2..49e9f9dc00d6 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -44,9 +44,9 @@ struct as_io_context { unsigned long ttime_samples; unsigned long ttime_mean; /* Layout pattern */ - long seek_samples; + unsigned int seek_samples; sector_t last_request_pos; - sector_t seek_total; + u64 seek_total; sector_t seek_mean; }; |
