Fixes an issue reintroduced in r315: s3fs_readdir was not populating the file stat cache

git-svn-id: http://s3fs.googlecode.com/svn/trunk@317 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
ben.lemasurier@gmail.com
2011-02-14 18:54:30 +00:00
parent ecaaf4d324
commit 1a79d451c5
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -3444,6 +3444,8 @@ static int s3fs_readdir(
st.st_uid = strtoul((*stuff.responseHeaders)["x-amz-meta-uid"].c_str(), (char **)NULL, 10);
st.st_gid = strtoul((*stuff.responseHeaders)["x-amz-meta-gid"].c_str(), (char **)NULL, 10);
add_stat_cache_entry(stuff.path.c_str(), &st);
} // if (code == 0)
} // if (msg != NULL) {
} // while (remaining_msgs)