diff options
author | Tejun Heo <tj@kernel.org> | 2008-08-25 19:56:16 +0900 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:08 +0200 |
commit | 689d6fac40b41c7bf154f362deaf442548e4dc81 (patch) | |
tree | 5989dc5767f657272194ee8c7d69c6db1e62dab7 /mm/page_alloc.c | |
parent | 540eed5637b766bb1e881ef744c42617760b4815 (diff) | |
download | kernel_samsung_tuna-689d6fac40b41c7bf154f362deaf442548e4dc81.zip kernel_samsung_tuna-689d6fac40b41c7bf154f362deaf442548e4dc81.tar.gz kernel_samsung_tuna-689d6fac40b41c7bf154f362deaf442548e4dc81.tar.bz2 |
block: replace @ext_minors with GENHD_FL_EXT_DEVT
With previous changes, it's meaningless to limit the number of
partitions. Replace @ext_minors with GENHD_FL_EXT_DEVT such that
setting the flag allows the disk to have maximum number of allowed
partitions (only limited by the number of entries in parsed_partitions
as determined by MAX_PART constant).
This kills not-too-pretty alloc_disk_ext[_node]() functions and makes
@minors parameter to alloc_disk[_node]() unnecessary. The parameter
is left alone to avoid disturbing the users.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions