Revise Lookup implementation.
* Always take R/W lock * If the child exists, do addLookupCount() before GetAttr, so the child can't be cleaned up during the unprotected GetAttr() call.
Showing
Please register or sign in to comment
* Always take R/W lock * If the child exists, do addLookupCount() before GetAttr, so the child can't be cleaned up during the unprotected GetAttr() call.