summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorGeorge Hu <integral@archlinux.org>2025-06-28 13:21:30 +0800
committerDavid Sterba <dsterba@suse.com>2025-07-21 23:58:05 +0200
commitafd1dacbd0964c7d36a9057c39c168fe7fbb5196 (patch)
tree36c84ed4384e14c6c56fba24fa13408af722dfd9 /fs/btrfs/file.c
parent2fb5e56f524f7c0ca3ebda0069f8dd83b90876e5 (diff)
btrfs: replace nested usage of min & max with clamp in btrfs_compress_set_level()
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. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: George Hu <integral@archlinux.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions