block: fix duplicate headers for /proc/partitions
authorTejun Heo <tj@kernel.org>
Thu, 4 Sep 2008 07:17:31 +0000 (09:17 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:12 +0000 (08:56 +0200)
commit243294dae09c909c0442c8f04d470b69c3c19d6e
treeb6178beadd19247b81d2b09e063e856943c83177
parentfad7f01e61bf737fe8a3740d803f000db57ecac6
block: fix duplicate headers for /proc/partitions

seqf can be started multiple times for a read and the header should be
printed only for the initial one.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/genhd.c