[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170571292805.1346839.6434955686837656985.b4-ty@kernel.dk>
Date: Fri, 19 Jan 2024 18:08:48 -0700
From: Jens Axboe <axboe@...nel.dk>
To: allison.karlitskaya@...hat.com, hch@...radead.org,
yukuai1@...weicloud.com, Li Lingfeng <lilingfeng@...weicloud.com>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
houtao1@...wei.com, yi.zhang@...wei.com, yangerkun@...wei.com
Subject: Re: [PATCH] block: Move checking GENHD_FL_NO_PART to
bdev_add_partition()
On Thu, 18 Jan 2024 21:04:01 +0800, Li Lingfeng wrote:
> Commit 1a721de8489f ("block: don't add or resize partition on the disk
> with GENHD_FL_NO_PART") prevented all operations about partitions on disks
> with GENHD_FL_NO_PART in blkpg_do_ioctl() since they are meaningless.
> However, it changed error code in some scenarios. So move checking
> GENHD_FL_NO_PART to bdev_add_partition() to eliminate impact.
>
>
> [...]
Applied, thanks!
[1/1] block: Move checking GENHD_FL_NO_PART to bdev_add_partition()
commit: 6a1cf2468a9ba1f56de7478ee6ad0d54e0aa821a
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists