Re: [PATCH] ext4: clear error before retrying inode xattr space fallback
"Theodore Ts'o" <[email protected]>
| Newsgroups | org.kernel.vger.linux-ext4,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <178481171747.796182.11985644104721391723.b4-ty@b4> |
On Wed, 08 Jul 2026 12:57:19 +0000, Guanghui Yang wrote:
> When ext4_xattr_make_inode_space() returns -ENOSPC,
> ext4_expand_extra_isize_ea() can retry the expansion with
> s_min_extra_isize. If that retry succeeds by finding enough ibody free
> space, control jumps directly to the shift label.
>
> The previous -ENOSPC is still stored in error in that path, so the
> function can update i_extra_isize but still return -ENOSPC to the
> caller. Clear error before retrying so a successful fallback expansion
> returns success.
>
> [...]
Applied, thanks!
[1/1] ext4: clear error before retrying inode xattr space fallback
commit: 409a7f12a0933ff2c617fa814c76cef0bd1d457a
Best regards,
--
Theodore Ts'o <[email protected]>