]> git.baikalelectronics.ru Git - kernel.git/commit
block: move header for /proc/partitions to seq_start
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 May 2008 21:21:08 +0000 (17:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:49 +0000 (21:54 -0700)
commitfed373da4c5064665dd46c0c6c6583d50e7d9bb7
tree732d5a400af672568ddceea738d6c509f1f3a0be
parentf1291c25ce558f46460e298094e0da398b365a2e
block: move header for /proc/partitions to seq_start

The seq_start call is the better place for the header for the file, that
way we don't have to be mucking in the class structure to try to figure
out if this is the first partition or not.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/genhd.c