[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250630161221.GJ31241@twin.jikos.cz>
Date: Mon, 30 Jun 2025 18:12:21 +0200
From: David Sterba <dsterba@...e.cz>
To: George Hu <integral@...hlinux.org>
Cc: wqu@...e.com, clm@...com, dsterba@...e.com, josef@...icpanda.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] btrfs: replace nested usage of min & max with clamp
in btrfs_compress_set_level()
On Sat, Jun 28, 2025 at 01:21:30PM +0800, George Hu wrote:
> Refactor the btrfs_compress_set_level() function by replacing the
> nested usage of min() and max() macro with clamp() to simplify the
> code and improve readability.
>
> Signed-off-by: George Hu <integral@...hlinux.org>
Reviewed-by: David Sterba <dsterba@...e.com>
Powered by blists - more mailing lists