diff options
| author | George Hu <[email protected]> | 2025-06-28 05:21:30 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-07-21 21:58:05 +0000 |
| commit | afd1dacbd0964c7d36a9057c39c168fe7fbb5196 (patch) | |
| tree | 36c84ed4384e14c6c56fba24fa13408af722dfd9 /fs/btrfs/ioctl.c | |
| parent | btrfs: send: avoid extra calls to strlen() in gen_unique_name() (diff) | |
| download | kernel-afd1dacbd0964c7d36a9057c39c168fe7fbb5196.tar.gz kernel-afd1dacbd0964c7d36a9057c39c168fe7fbb5196.zip | |
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 <[email protected]>
Signed-off-by: George Hu <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions
