Re: [PATCH v2] ext4: Fix ERR_PTR(0) in ext4_mkdir()
From: Theodore Ts'o
Date: Thu Jun 11 2026 - 08:38:17 EST
On Thu, 04 Jun 2026 15:36:47 +0800, Hongling Zeng wrote:
> When mkdir succeeds, ext4_mkdir() returns ERR_PTR(0) which is incorrect.
> It should return NULL instead for success and ERR_PTR() only with
> negative error codes for failure.
Applied, thanks!
[1/1] ext4: Fix ERR_PTR(0) in ext4_mkdir()
commit: 8e1c43af7cf5091d99db38b7c8129e394d7f45b5
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>