mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-22 21:38:24 +00:00
only delete stat cache entries when file could have been modified.
git-svn-id: http://s3fs.googlecode.com/svn/trunk@324 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
parent
9b5f694497
commit
c07e27eff1
@ -1,7 +1,7 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT(s3fs, 1.47)
|
||||
AC_INIT(s3fs, 1.48)
|
||||
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
@ -3041,8 +3041,8 @@ static int s3fs_release(const char *path, struct fuse_file_info *fi) {
|
||||
YIKES(-errno);
|
||||
}
|
||||
|
||||
// FIXME: is this required?
|
||||
delete_stat_cache_entry(path);
|
||||
if((fi->flags & O_RDWR) || (fi->flags & O_WRONLY))
|
||||
delete_stat_cache_entry(path);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user