summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/processor.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-17 08:34:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-05-02 10:57:17 -0700
commitef2ef1cee9f63c060204c258b62f9a321b1887f5 (patch)
tree16267e69f1e45422e672ae114ed5e28d9b8e413e /arch/powerpc/include/asm/processor.h
parent05c75f1ce36d4d72aa9ed5fe895a178c01e875d3 (diff)
block: include empty disks in /proc/diskstats
commit 71982a409f12c50d011325a4471aa20666bb908d upstream. /proc/diskstats used to show stats for all disks whether they're zero-sized or not and their non-zero partitions. Commit 074a7aca7afa6f230104e8e65eba3420263714a5 accidentally changed the behavior such that it doesn't print out zero sized disks. This patch implements DISK_PITER_INCL_EMPTY_PART0 flag to partition iterator and uses it in diskstats_show() such that empty part0 is shown in /proc/diskstats. Reported and bisectd by Dianel Collins. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Daniel Collins <solemnwarning@solemnwarning.no-ip.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions