Whamcloud - gitweb
LU-4336 quota: improper assert in osc_quota_chkdq() 60/8460/2
authorNiu Yawei <yawei.niu@intel.com>
Tue, 3 Dec 2013 01:57:40 +0000 (20:57 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 15 Dec 2013 13:33:23 +0000 (13:33 +0000)
commitd21e835b9cacf14d92f61a99b8514e28e98fb4a0
treef8811c29f97f4e8fd6a71837852d28777e333937
parente975b1ce94ab7e626fbb4807032e0f72d6a3d42b
LU-4336 quota: improper assert in osc_quota_chkdq()

In osc_quota_chkdq(), we should never try to access oqi found
from hash, since it could have been freed by osc_quota_setdq().

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: Ia73cf89cb5bbd730fa6f0a00e44771f733b2baa6
Reviewed-on: http://review.whamcloud.com/8460
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/osc/osc_quota.c