diff options
author | NeilBrown <neilb@suse.de> | 2007-07-17 04:06:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:15 -0700 |
commit | 713f6ab18b0e7d39f14401362bfe8015b1aedde1 (patch) | |
tree | fc6ef865d09de1ec816ed96860ffc27dd48d837b /include/linux/raid | |
parent | df968c4e8d809deb2602fb0e8db758f26a4006b9 (diff) | |
download | op-kernel-dev-713f6ab18b0e7d39f14401362bfe8015b1aedde1.zip op-kernel-dev-713f6ab18b0e7d39f14401362bfe8015b1aedde1.tar.gz |
md: improve the is_mddev_idle test fix
Don't use 'unsigned' variable to track sync vs non-sync IO, as the only thing
we want to do with them is a signed comparison, and fix up the comment which
had become quite wrong.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/md_k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index de72c49..28ac632 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h @@ -51,7 +51,7 @@ struct mdk_rdev_s sector_t size; /* Device size (in blocks) */ mddev_t *mddev; /* RAID array if running */ - unsigned long last_events; /* IO event timestamp */ + long last_events; /* IO event timestamp */ struct block_device *bdev; /* block device handle */ |