common/rc: fix get_max_lfs_filesize
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 Mar 2019 21:19:08 +0000 (13:19 -0800)
committerEryu Guan <guaneryu@gmail.com>
Wed, 6 Mar 2019 12:55:44 +0000 (20:55 +0800)
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 <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc

index 8b40aabebeaf6448c542b87cc490972d467c87ce..1c42515ff0ea534c677b532c4b5bfb6bad9c13e2 100644 (file)
--- 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")