From 5bdf33bc7a55acae20d715fb7527b676ca77fd49 Mon Sep 17 00:00:00 2001 From: Pawel Dziepak Date: Tue, 19 Mar 2013 02:55:31 +0100 Subject: [PATCH] nfs4: Remove check for presence of mandatory attributes This fixes CID 991495. --- src/add-ons/kernel/file_systems/nfs4/Inode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/nfs4/Inode.cpp b/src/add-ons/kernel/file_systems/nfs4/Inode.cpp index abebe6f982..48ad7f0204 100644 --- a/src/add-ons/kernel/file_systems/nfs4/Inode.cpp +++ b/src/add-ons/kernel/file_systems/nfs4/Inode.cpp @@ -86,7 +86,7 @@ Inode::CreateInode(FileSystem* fs, const FileInfo& fi, Inode** _inode) AttrValue* values; uint32 count; result = reply.GetAttr(&values, &count); - if (result != B_OK || count < 4) + if (result != B_OK) return result; if (fi.fFileId == 0) {