[LU-8302] OFD object isn't released on error Created: 19/Jun/16 Updated: 28/Jun/16 Resolved: 28/Jun/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Boyko | Assignee: | Mikhail Pershin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Comments |
| Comment by Alexander Boyko [ 19/Jun/16 ] |
|
commitrw_read fo = ofd_object_find(env, ofd, fid);
if (IS_ERR(fo))
RETURN(PTR_ERR(fo));
This part forgets to release object reference, and actually it cannot do that. Small refactoring is introduced. |
| Comment by Gerrit Updater [ 19/Jun/16 ] |
|
Alexander Boyko (alexander.boyko@seagate.com) uploaded a new patch: http://review.whamcloud.com/20873 |
| Comment by Peter Jones [ 21/Jun/16 ] |
|
Alex/Mike Could you please review this patch? Thanks Peter |
| Comment by Peter Jones [ 28/Jun/16 ] |
|
This is believed to be a duplicate of |