nfs4: Fix assignment to temporary

This commit is contained in:
Pawel Dziepak
2012-08-09 23:57:31 +02:00
parent 775a18c155
commit ad5adda8e7
@@ -84,7 +84,7 @@ MetadataCache::GetAccess(uid_t uid, uint32* allowed)
return B_ENTRY_NOT_FOUND;
if (!fForceValid)
it.Current().fForceValid = false;
it.CurrentValuePointer()->fForceValid = false;
if (!it.Current().fForceValid && it.Current().fExpire < time(NULL)) {
it.Remove();
@@ -167,3 +167,4 @@ MetadataCache::NotifyChanges(const struct stat* oldStat,
notify_stat_changed(fInode->GetFileSystem()->DevId(), fInode->ID(), flags);
}