nfs4: Fix CID 990984 and 991173: missing assignment in error check

This commit is contained in:
Pawel Dziepak
2013-03-19 01:24:01 +01:00
parent e975b31db3
commit c689b9f5f1
@@ -181,7 +181,7 @@ Inode::ReadDirUp(struct dirent* de, uint32 pos, uint32 size)
if (fFileSystem->IsAttrSupported(FATTR4_FILEID)) { if (fFileSystem->IsAttrSupported(FATTR4_FILEID)) {
AttrValue* values; AttrValue* values;
uint32 count; uint32 count;
reply.GetAttr(&values, &count); result = reply.GetAttr(&values, &count);
if (result != B_OK) if (result != B_OK)
return result; return result;