On Thu, May 25, 2023 at 03:20:41PM +0800, Zhong Jinghua wrote:Before this patch, the io to the zero-length partition failed, I think it is meaningless, and it was fixed by the way
+ if (p.start < 0 || p.length <= 0 || p.start + p.length < 0)Were zero-length partitions allowed before?
+ return -EINVAL;
- Eric