summaryrefslogtreecommitdiff
path: root/block/partitions/mac.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-28block/partitions/mac.c: obey the state->limit constraintMing Lei1-0/+4
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 <ming.lei@canonical.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-04move fs/partitions to block/Al Viro1-0/+134
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>