[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170973933258.23995.5282067244237610258.b4-ty@kernel.dk>
Date: Wed, 06 Mar 2024 08:35:32 -0700
From: Jens Axboe <axboe@...nel.dk>
To: min15.li@...sung.com, Li Lingfeng <lilingfeng@...weicloud.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
dlemoal@...nel.org, hch@....de, yangerkun@...wei.com,
yukuai1@...weicloud.com, houtao1@...wei.com, yi.zhang@...wei.com
Subject: Re: [PATCH] block: move capacity validation to blkpg_do_ioctl()
On Tue, 05 Mar 2024 11:21:32 +0800, Li Lingfeng wrote:
> Commit 6d4e80db4ebe ("block: add capacity validation in
> bdev_add_partition()") add check of partition's start and end sectors to
> prevent exceeding the size of the disk when adding partitions. However,
> there is still no check for resizing partitions now.
> Move the check to blkpg_do_ioctl() to cover resizing partitions.
>
>
> [...]
Applied, thanks!
[1/1] block: move capacity validation to blkpg_do_ioctl()
commit: b9355185d2aeef11f6e365dd98def82212637936
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists