From: Darrick J. Wong Date: Mon, 4 Mar 2019 21:19:08 +0000 (-0800) Subject: common/rc: fix get_max_lfs_filesize X-Git-Tag: v2022.05.01~1236 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=86d99a8225f295472d8f76d4a252a1472c9d3aab;p=users%2Fhch%2Fxfstests-dev.git common/rc: fix get_max_lfs_filesize Helper functions are supposed to have a leading underscore ('_') in the function name, but this one doesn't have it. Unfortunately, the calling test cases (generic/349-351) /do/ have the leading underscore, so now they're broken. Signed-off-by: Darrick J. Wong Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index 8b40aabeb..1c42515ff 100644 --- a/common/rc +++ b/common/rc @@ -3834,7 +3834,7 @@ _get_max_file_size() } # get MAX_LFS_FILESIZE -get_max_lfs_filesize() +_get_max_lfs_filesize() { case "$(getconf LONG_BIT)" in "32")