new_file_fd() is now called get_new_fd(), and can also create fds for other types as well. Furthermore, it lost some memory if it couldn't allocate a new fd. Implemented most of the VFS attribute API (kernel internal only), only remove_attr(), and rename_attr() is missing for now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1168 a95241bf-73f2-0310-859d-f6bbb57e9c96