]> git.openfabrics.org - ~emulex/infiniband.git/commit
lustre/quota: improper assert in osc_quota_chkdq()
authorNiu Yawei <yawei.niu@intel.com>
Sat, 1 Mar 2014 02:16:45 +0000 (21:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 03:13:21 +0000 (19:13 -0800)
commit19a5b935d9d072434c9ea06720c3ffe97bad9247
treed7aba602858beaa6d4ad900d30d737996c31ed37
parent15f13cde9c34f87452e463b13b180c0a948fb8ce
lustre/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>
Reviewed-on: http://review.whamcloud.com/8460
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4336
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_quota.c