Support Linux v6.13 FUSE max_page_limit

This commit is contained in:
Antonio SJ Musumeci 2025-03-25 09:47:25 -05:00
parent d31e97e64c
commit 92ae63e842
12 changed files with 221 additions and 24 deletions

View file

@ -76,6 +76,11 @@ namespace str
tmp = ::strtoll(value_.c_str(),&endptr,10);
switch(*endptr)
{
case 'b':
case 'B':
tmp *= 1ULL;
break;
case 'k':
case 'K':
tmp *= 1024ULL;