]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: Add _min() and _max() helpers
authorOjaswin Mujoo <ojaswin@linux.ibm.com>
Fri, 19 Sep 2025 06:47:54 +0000 (12:17 +0530)
committerZorro Lang <zlang@kernel.org>
Fri, 17 Oct 2025 20:31:08 +0000 (04:31 +0800)
commitc6cffd0ae6d4d3e9b94d70a5345515d5211c9def
tree09bd259cdc8535ffb27dce8f2f2a275ce180ec79
parentcd0431fa4fc508b991c63fbb73f844359bd582d2
common/rc: Add _min() and _max() helpers

Many programs open code these functionalities so add it as a generic helper
in common/rc

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: John Garry <john.g.gary@oracle.com>
Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc