Thread (9 messages) 9 messages, 5 authors, 2023-06-29

Re: [PATCH v3] block: add check that partition length needs to be aligned with block size

From: Yu Kuai <hidden>
Date: 2023-06-29 01:04:49
Also in: lkml

Hi,

在 2023/06/29 1:07, Min Li 写道:
On Mon, Jun 28, 2023 at 04:48:36PM +0000, Christoph Hellwig  wrote:
quoted
They are long long in the UAPI, which is weird but has been that way
for a long time.  So I think we need checks for negative values
before they are shifted and converted to a sector_t.
Do you mean that we need to check if p.start and p.length are negative?
Perhaps this patch will make sense.

https://lore.kernel.org/all/20230525072041.3701176-1-zhongjinghua@huawei.com/ (local)

Thanks,
Kuai
Thanks for your reply

Min li
.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help