From: Chen, Kenneth W Date: Thu, 13 Oct 2005 19:48:42 +0000 (+0200) Subject: [patch] remove gendisk->stamp_idle field X-Git-Tag: v2.6.15-rc1~733^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20e5c81fcff89535dced2ed71cf24c6c648ff40e;p=pandora-kernel.git [patch] remove gendisk->stamp_idle field struct gendisk has these two fields: stamp, stamp_idle. Update to stamp_idle is always in sync with stamp and they are always the same. Therefore, it does not add any value in having two fields tracking same timestamp. Suggest to remove it. Also, we should only update gendisk stats with non-zero value. Advantage is that we don't have to needlessly calculate memory address, and then add zero to the content. Signed-off-by: Ken Chen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed