Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
3
-
13320
Description
If __osd_object_create() fails, references to the new DMU object and its dmu_buf_t are both lost. For example, in osd_mksym() and osd_mknod(), when __osd_object_create() returns error, the callers simply return ERR_PTR(rc); without doing anything else, then both the new DMU object and its dmu_buf_t are leaked.
So __osd_object_create() should clean it up before returning error. There's a similar problem in __osd_zap_create().
Attachments
Activity
Link | New: This issue is related to LDEV-45 [ LDEV-45 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Priority | Original: Minor [ 4 ] | New: Critical [ 2 ] |
Fix Version/s | New: Lustre 2.6.0 [ 10595 ] |
Patch landed to Master.