summaryrefslogtreecommitdiff
path: root/include/linux/ipmi_msgdefs.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-08-25 14:30:12 +0400
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 10:56:04 +0400
commitac65ece4eee10b03ac29ee925cadc179dc810bab (patch)
tree529f3a2c212aaa6aa5010c41aa9ec59bd6635c17 /include/linux/ipmi_msgdefs.h
parent5a3ceb861663040f9ef0176df4aaa494bba5e352 (diff)
downloadlinux-ac65ece4eee10b03ac29ee925cadc179dc810bab.tar.xz
block: fix partition info printouts
Recent block_class iteration updates 5c6f35c5..27f3025 broke partition info printouts. * printk_all_partitions(): Partition print out stops when it meets a partition hole. Partition printing inner loop should continue instead of exiting on empty partition slot. * /proc/partitions and /proc/diskstats: If all information can't be read in single read(), the information is truncated. This is because find_start() doesn't actually update the counter containing the initial seek. It runs to the end and ends up always reporting EOF on the second read. This patch fixes both problems. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/ipmi_msgdefs.h')
0 files changed, 0 insertions, 0 deletions