Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12275 sec: atomicity of encryption context getting/setting
[fs/lustre-release.git]
/
lustre
/
mdc
/
mdc_reint.c
diff --git
a/lustre/mdc/mdc_reint.c
b/lustre/mdc/mdc_reint.c
index
f32d2fb
..
c3dbf66
100644
(file)
--- a/
lustre/mdc/mdc_reint.c
+++ b/
lustre/mdc/mdc_reint.c
@@
-210,6
+210,9
@@
rebuild:
req_capsule_set_size(&req->rq_pill, &RMF_FILE_SECCTX, RCL_CLIENT,
op_data->op_file_secctx_size);
req_capsule_set_size(&req->rq_pill, &RMF_FILE_SECCTX, RCL_CLIENT,
op_data->op_file_secctx_size);
+ req_capsule_set_size(&req->rq_pill, &RMF_FILE_ENCCTX, RCL_CLIENT,
+ op_data->op_file_encctx_size);
+
/* get SELinux policy info if any */
rc = sptlrpc_get_sepol(req);
if (rc < 0) {
/* get SELinux policy info if any */
rc = sptlrpc_get_sepol(req);
if (rc < 0) {