nfs4: check for presence of FATTR4_CHANGE is not required

This fixes CID 991501.
This commit is contained in:
Pawel Dziepak 2013-03-19 02:30:17 +01:00
parent 2723b9eba4
commit 4fa87bf152

View File

@ -45,7 +45,7 @@ NFS4Inode::GetChangeInfo(uint64* change, bool attrDir)
AttrValue* values; AttrValue* values;
uint32 count; uint32 count;
result = reply.GetAttr(&values, &count); result = reply.GetAttr(&values, &count);
if (result != B_OK || count < 1) if (result != B_OK)
return result; return result;
// FATTR4_CHANGE is mandatory // FATTR4_CHANGE is mandatory