diff --git a/configure.ac b/configure.ac index e77a77c..545c362 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(s3fs, 1.57) +AC_INIT(s3fs, 1.58) AC_CANONICAL_SYSTEM diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 90071b1..682074b 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -2353,6 +2353,7 @@ static int s3fs_statfs(const char *path, struct statvfs *stbuf) { stbuf->f_blocks = 0X1000000; stbuf->f_bfree = 0x1000000; stbuf->f_bavail = 0x1000000; + stbuf->f_namemax = NAME_MAX; return 0; }