From: Tejun Heo Date: Mon, 1 Sep 2008 06:55:10 +0000 (+0200) Subject: block: restore original behavior of /proc/partition when there's no partition X-Git-Tag: v2.6.27-rc6~90^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddef43a843f620c6742a06633739887a901ec06b;p=pandora-kernel.git block: restore original behavior of /proc/partition when there's no partition /proc/partitions didn't use to write out the header if there was no partition. However, recent commit 66c64afe changed the behavior. This is nothing major but there's no reason to change user visible behavior without a good rationale. Restore the original behavior. Note that 2.6.28 has clean up changes scheduled which will replace this rather hacky implementation. Signed-off-by: Tejun Heo Cc: Greg KH Cc: Kay Sievers Signed-off-by: Jens Axboe --- Reading git-diff-tree failed