Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
We seem to be having this sort of code there:
if (lso == NULL) { struct lu_attr *attr = &info->lti_la; rc = dt_attr_get(env, parent, attr); if (rc != 0) { rc = PTR_ERR(lso); goto next; }
Now note that lso is already NULL - meaning we reset nonzero rc into zero in quite a roundabout way.
Are you sure this is what was desired? I think we should just reuse the rc with the error instead?
Attachments
Activity
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Fix Version/s | New: Lustre 2.8.0 [ 11113 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | Original: WC Triage [ wc-triage ] | New: nasf [ yong.fan ] |
Patch has landed for 2.8.