From: Tejun Heo Date: Mon, 25 Aug 2008 10:56:16 +0000 (+0900) Subject: block: replace @ext_minors with GENHD_FL_EXT_DEVT X-Git-Tag: v2.6.28-rc1~733^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=689d6fac40b41c7bf154f362deaf442548e4dc81;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed