Re: [PATCH] fuse: use min_not_zero() in fuse_init_server_timeout()

Joanne Koong <[email protected]> Fri, 31 Jul 2026 10:29:27 -0700
Newsgroups dev.linux.lists.fuse-devel,org.kernel.vger.linux-kernel
Message-ID <CAJnrk1YO+ToJiv3JAyvuMQ-AUDug_P_0=43EDnwsBzxqb6uQVg@mail.gmail.com>
On Fri, Jul 31, 2026 at 8:44=E2=80=AFAM Sang-Heon Jeon <[email protected]=
om> wrote:
>
> fuse_init_server_timeout() limits timeout to fuse_max_req_timeout with
> the same logic as min_not_zero(), and returns early exactly when the
> computed timeout would be zero.
>
> So use min_not_zero() instead and return when the computed timeout is
> zero.
>
> No functional change.
>
> Signed-off-by: Sang-Heon Jeon <[email protected]>

Reviewed-by: Joanne Koong <[email protected]>