• Y
    [Dnode / Vnode] More error handling. · 577962ed
    yifan hao 提交于
    This patch adds more error handling code:
    1. In dnodeAllocateWqueue(), if the allocation of pWorker fails, any
    allocated memory should be unwound and returns a NULL queue. This is
    a better function contract where either all allocation succeeds or none
    succeeds.
    2. In vnodeOpen(), handle allocation failure for pVnode.
    577962ed
dnodeModule.c 4.1 KB