Handle memory allocation failure when open vnode
This patch fixes a few error handling of memory allocation failure while opening vnodes. bonus fix: also add a new error code to indicate failure of opening vnode. Before the patch, the function would simply return -1 when vnode open fails.
Showing
想要评论请 注册 或 登录