Whamcloud - gitweb
LU-4345 osp: store valid bits in setattr record 23/10223/5
authorNiu Yawei <yawei.niu@intel.com>
Tue, 6 May 2014 05:23:12 +0000 (01:23 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 May 2014 01:50:33 +0000 (01:50 +0000)
commit80f90fcde73e2faff8b7b0ffc7c19bc52982e027
tree0f39709c31a1d6019b69972192b04b2b8e89a4f8
parent8862fd2a3a34ad9bd97e1424252d37a740cbafd8
LU-4345 osp: store valid bits in setattr record

We'd store LA_UID/LA_GID bit along with the UID/GID in the setattr
llog record, otherwise, osp could set a random uid/gid to the OST
object.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I17de21071127325ade8dea6f8618b622fec1768d
Reviewed-on: http://review.whamcloud.com/10223
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/obdclass/llog_swab.c
lustre/osp/osp_sync.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-quota.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c