Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: restore original behavior of /proc/partition when there's no p…
…artition /proc/partitions didn't use to write out the header if there was no partition. However, recent commit 66c64af 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 <tj@kernel.org> Cc: Greg KH <greg@kroah.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
- Loading branch information