Whamcloud - gitweb
LU-4045 mdd: use same attr to declare setattr 66/14566/7
authorHongchao Zhang <hongchao.zhang@intel.com>
Sun, 3 May 2015 20:25:25 +0000 (04:25 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 16 Jul 2015 03:27:41 +0000 (03:27 +0000)
commit0158031bc32d1719ec05d12d1ceb03e4ecb66a97
treea9ed5ad760e160f22064d6ab3c3bcf1253f2134d
parenta37a5a9e5e309f87db9497d187df41d0fede8d29
LU-4045 mdd: use same attr to declare setattr

in mdd_attr_set, different lu_attr ("la" and "la_copy") is used
for declaring "setattr" and the "setattr" itself, the "LA_MODE"
could be added to "la_copy" by "mdd_fix_attr" in some case and
cause the "setxattr" in "mdd_attr_set_internal" is processed
without declaration.

Change-Id: Ic4441e0c72e8d8209d8f5e60f71ab09dc7987163
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: http://review.whamcloud.com/14566
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdd/mdd_object.c