[LU-15599] osc_quota_setdq prints freed pointer Created: 27/Feb/22 Updated: 27/Feb/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
oqi = cfs_hash_del_key(cli->cl_quota_hash[type], &qid[type]); if (oqi) OBD_SLAB_FREE_PTR(oqi, osc_quota_kmem); CDEBUG(D_QUOTA, "%s: setdq to remove for %s %d (%p)\n", cli_name(cli), qtype_name(type), qid[type], oqi); OBD_SLAB_FREE_PTR->OBD_SLAB_FREE will zero out the first argument, so apparently this will always prent 0 for the last value |