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

Re: hurd/ext2fs/getblk.c:103 assertion



Hi Samuel,

Whichever style is used to express the alteration is fine with me.

All the best,

Mike.

On 28 Apr 2025 08:57, Samuel Thibault <sthibault@debian.org> wrote:

Hello,

Michael Kelly, le lun. 28 avril 2025 07:01:37 +0100, a ecrit:
> It is permissible for ext2_alloc_block to return 0 as an ENOSPC indication
> but the assertion doesn't take that into account. Please consider the
> following patch:

Perhaps better simply add "result == 0 ||" in the assertion? That'll
keep the code simpler.

Samuel



Reply to: