From: Ming Lei Date: Thu, 28 Feb 2013 01:05:18 +0000 (-0800) Subject: block/partitions/mac.c: obey the state->limit constraint X-Git-Tag: v3.9-rc1~46^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06004e6eebdaf101a0f9b533fac77b5768d2c09c;p=pandora-kernel.git block/partitions/mac.c: obey the state->limit constraint It isn't necessary to read the information of partitions whose number is equal and more than state->limit since only maximum state->limit partitions will be added inside rescan_partitions(). That is also what other kind of partitions are doing. Signed-off-by: Ming Lei Cc: Jens Axboe Cc: Yasuaki Ishimatsu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed