* Don't let GuestNode::Init() fail if the attribute directory could not be

opened; not all file systems support this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30654 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-05-07 07:20:57 +00:00
parent 05b2d32351
commit 843ce67e3d
+3 -2
View File
@@ -529,8 +529,9 @@ public:
// open the attribute directory // open the attribute directory
fAttrDir = _kern_open_attr_dir(fd, NULL); fAttrDir = _kern_open_attr_dir(fd, NULL);
if (fAttrDir < 0) if (fAttrDir < 0) {
return fAttrDir; // TODO: check if the file system supports attributes, and fail
}
return FSSH_B_OK; return FSSH_B_OK;
} }