Re: [PATCH] block: don't add or resize partition on the disk with GENHD_FL_NO_PART

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 31 Aug 2023 15:59:00 +0800, Li Lingfeng wrote:
> Commit a33df75c6328 ("block: use an xarray for disk->part_tbl") remove
> disk_expand_part_tbl() in add_partition(), which means all kinds of
> devices will support extended dynamic `dev_t`.
> However, some devices with GENHD_FL_NO_PART are not expected to add or
> resize partition.
> Fix this by adding check of GENHD_FL_NO_PART before add or resize
> partition.
> 
> [...]

Applied, thanks!

[1/1] block: don't add or resize partition on the disk with GENHD_FL_NO_PART
      (no commit info)

Best regards,
-- 
Jens Axboe






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux