summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc-xml-ref
diff options
context:
space:
mode:
authorDing Feng <dingf3ng@gmail.com>2026-11-19 11:10:26 +0800
committerDamien Le Moal <dlemoal@kernel.org>2026-11-20 23:58:15 +0900
commitfb5289b697c965581104bafdd875b969a1db3e79 (patch)
treeb4ef73afd97be375c22bd3bc00136d7a86bdd763 /scripts/kernel-doc-xml-ref
parentfe779a359d40ece9060932467b5dbe464d43f00e (diff)
zonefs: ignore RLIMIT_FSIZE above LLONG_MAX in zonefs_write_check_limits()
zonefs_write_check_limits() follows generic_write_check_limits() and has the same problem: it stores rlimit(RLIMIT_FSIZE), an unsigned long, in a loff_t, so a soft limit between 2^63 and RLIM_INFINITY is negative and every write fails with -EFBIG and raises SIGXFSZ. Keep the limit unsigned and apply it only when it is at most LLONG_MAX, as the generic helper now does. Fixes: ebfd68cd0c1e ("zonefs: Fix O_APPEND async write handling") Cc: stable@vger.kernel.org Assisted-by: Claude:claude-opus-5-5 Frama-C Signed-off-by: Ding Feng <dingf3ng@gmail.com> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'scripts/kernel-doc-xml-ref')
0 files changed, 0 insertions, 0 deletions