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:
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user