Fixed issue #210

Applied user supplied patch


git-svn-id: http://s3fs.googlecode.com/svn/trunk@353 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
mooredan@suncup.net 2011-07-19 19:52:38 +00:00
parent f484ea00ae
commit b54b2ddfda
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_INIT(s3fs, 1.57) AC_INIT(s3fs, 1.58)
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM

View File

@ -2353,6 +2353,7 @@ static int s3fs_statfs(const char *path, struct statvfs *stbuf) {
stbuf->f_blocks = 0X1000000; stbuf->f_blocks = 0X1000000;
stbuf->f_bfree = 0x1000000; stbuf->f_bfree = 0x1000000;
stbuf->f_bavail = 0x1000000; stbuf->f_bavail = 0x1000000;
stbuf->f_namemax = NAME_MAX;
return 0; return 0;
} }