From 3f4e8b83701d5ff84a00f979d26ca034f4f05aa9 Mon Sep 17 00:00:00 2001 From: vitaly Date: Mon, 15 Sep 2008 18:30:52 +0000 Subject: [PATCH] Branch b1_8_gate b=15949 i=adilger i=shadow --- lustre/mdc/mdc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 5b2aaf0..83b4f7e 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -313,7 +313,7 @@ int mdc_xattr_common(struct obd_export *exp, struct ll_fid *fid, rec->sx_opcode = REINT_SETXATTR; rec->sx_fsuid = current->fsuid; rec->sx_fsgid = current->fsgid; - rec->sx_cap = current->cap_effective; + rec->sx_cap = cfs_curproc_cap_pack(); rec->sx_suppgid1 = -1; rec->sx_suppgid2 = -1; rec->sx_fid = *((struct lu_fid*)fid); -- 1.8.3.1