Whamcloud - gitweb
LU-6865 mdd: check return value of posix_acl_from_xattr 33/15633/8
authorLi Dongyang <dongyang.li@anu.edu.au>
Fri, 17 Jul 2015 14:04:03 +0000 (00:04 +1000)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Oct 2015 01:56:13 +0000 (01:56 +0000)
commit070e8fefe25434394a30ae4407b825a12cce8308
treebbfc4526b5569c19f6489f5b7cf54497c906029b
parent0f34ed0c1caf5cbe8965af730466b11760de8782
LU-6865 mdd: check return value of posix_acl_from_xattr

passing a ERR_PTR to posix_acl_release will cause a crash

Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Change-Id: I1870121e2f4fb187cd8c58f263b651ddf83a574b
Reviewed-on: http://review.whamcloud.com/15633
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/mdd/mdd_object.c