Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.5.0
-
3
-
10901
Description
An error path in the ZFS osd_object_create() applies PTR_ERR() to the valid thandle pointer:
db = osd_create_type_f(dof->dof_type)(env, osd, attr, zapid, oh); if (IS_ERR(db)) GOTO(out, rc = PTR_ERR(th));
Surely PTR_ERR(db) should be used instead. This was found using one of the coccinelle example scripts.
Also 'Quota' is misspelled in a comment.
Attachments
Issue Links
- is related to
-
LU-2753 Tracking bug for static code analysis fixes.
-
- Resolved
-
Activity
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Fix Version/s | New: Lustre 2.5.1 [ 10608 ] | |
Labels | Original: coccinelle prz zfs | New: coccinelle zfs |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Closed [ 6 ] |
Labels | Original: coccinelle zfs | New: coccinelle prz zfs |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Fix Version/s | New: Lustre 2.6.0 [ 10595 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |