Re: [PATCH] statmount: retry an overflowed string before reporting -EOVERFLOW

From: Ding Feng

Date: Wed Nov 25 2026 - 12:15:36 EST


Hi Kyuwon,

Thanks, confirmed. On v7.4-rc3 (arm64, QEMU), a tmpfs mounted on a
12278-byte path loses STATMOUNT_SB_SOURCE with and without v1, and gets
it back with the check moved up. 12276, 12277, 12279 and 12280 bytes
work on all three kernels.

The early return came in with 75ead69a7173 ("fs: don't let statmount
return empty strings"), so v2 has a second Fixes tag, along with your
Reported-by and Suggested-by:

https://lore.kernel.org/all/20261125-statmount-retry-v2-1-dingf3ng@xxxxxxxxx/

Thanks,
Ding Feng