From: Andrea Righi Date: Sat, 26 Jul 2008 22:22:27 +0000 (-0700) Subject: task IO accounting: correctly account threads IO statistics X-Git-Tag: v2.6.27-rc1~79 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2d002dba5a8a4c0c3ec96fd1ff3c9def6bd71a1;p=pandora-kernel.git task IO accounting: correctly account threads IO statistics Oleg Nesterov points out that we should check that the task is still alive before we iterate over the threads. This patch includes a fixup for this. Also simplify do_io_accounting() implementation. Signed-off-by: Andrea Righi Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed