[lvc-project] [PATCH] xfs: fix unreachable BIGTIME check in dquot flush validation

Fedor Pchelkin pchelkin at ispras.ru
Thu Jun 4 10:28:39 MSK 2026


On Wed, 03. Jun 20:41, Alexey Nepomnyashih wrote:
> The dqp->q_id == 0 check inside the XFS_DQTYPE_BIGTIME block is
> unreachable because root dquots return successfully earlier. Reject root
> dquots with XFS_DQTYPE_BIGTIME before that early return, preserving the
> intended validation and removing the unreachable condition.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Fixes: 4ea1ff3b4968 ("xfs: widen ondisk quota expiration timestamps to handle y2038+")
> Cc: stable at vger.kernel.org # v5.10+
> Signed-off-by: Alexey Nepomnyashih <sdl at nppct.ru>

Для 5.10 понадобится адаптированная версия патча в lvc-patches.



More information about the lvc-project mailing list