diff options
author | Ming Lei <ming.lei@canonical.com> | 2013-02-27 17:05:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 19:10:21 -0800 |
commit | 06004e6eebdaf101a0f9b533fac77b5768d2c09c (patch) | |
tree | 5a867e6e20c7fb468ba4d6b7d5501fded8b174f1 /block/blk-exec.c | |
parent | 8b8a6e1881be8d73b7a98f84ccec61e624ec5cac (diff) | |
download | linux-3.10-06004e6eebdaf101a0f9b533fac77b5768d2c09c.tar.gz linux-3.10-06004e6eebdaf101a0f9b533fac77b5768d2c09c.tar.bz2 linux-3.10-06004e6eebdaf101a0f9b533fac77b5768d2c09c.zip |
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 <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>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions