Whamcloud - gitweb
LU-4718 osp: clear oxe_ready on old oxe 72/9672/2
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 14 Mar 2014 18:37:41 +0000 (13:37 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 24 Apr 2014 04:06:23 +0000 (04:06 +0000)
commitc8a022ad299bd61bc4ab6d2048e97908764eabb2
treecbcc54103784489067bddb31646433beaf18bbc0
parent5bbc91f6b04366439a88b44847795f7bd94ff1c5
LU-4718 osp: clear oxe_ready on old oxe

In osp_xattr_get() and osp_declare_xattr_set() avoid NULL pointer
deferences in the error handling cases by clearing oxe_ready on the
old xattr cache entries.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I54f69e2d3e6570528e5a26bc9dd6e079a773a1a8
Reviewed-on: http://review.whamcloud.com/9672
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_object.c