4 Commits
v1.75 ... v1.76

Author SHA1 Message Date
fdabb7cbbe Merge pull request #9 from s3fs-fuse/issue/#8
version number up to v1.76 for new.
2014-01-21 07:37:38 -08:00
775d8758ef version number up to v1.76 for new. 2014-01-21 15:33:02 +00:00
31c979b290 Merge pull request #7 from s3fs-fuse/issue#5
Fixed a bug - issue#5
2014-01-16 08:09:50 -08:00
5fd33405af Fixed a bug - issue#5 2014-01-16 16:04:41 +00:00
3 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(s3fs, 1.74)
AC_INIT(s3fs, 1.76)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE()

View File

@ -425,6 +425,7 @@ bool convert_header_to_stat(const char* path, headers_t& meta, struct stat* pst,
if(S_ISREG(pst->st_mode)){
pst->st_blocks = get_blocks(pst->st_size);
}
pst->st_blksize = 4096;
// mtime
pst->st_mtime = get_mtime(meta);

View File

@ -708,6 +708,8 @@ static int s3fs_getattr(const char* path, struct stat* stbuf)
}
FdManager::get()->Close(ent);
}
stbuf->st_blksize = 4096;
stbuf->st_blocks = get_blocks(stbuf->st_size);
}
FPRNINFO("[path=%s] uid=%u, gid=%u, mode=%04o", path, (unsigned int)(stbuf->st_uid), (unsigned int)(stbuf->st_gid), stbuf->st_mode);
S3FS_MALLOCTRIM(0);