Whamcloud - gitweb
LU-16667 build: kernel_cap_t contains u64
[fs/lustre-release.git] / lustre / mdc / mdc_reint.c
index 4d76294..b1d4ee4 100644 (file)
@@ -514,7 +514,7 @@ int mdc_file_resync(struct obd_export *exp, struct md_op_data *op_data)
        rec->rs_opcode  = REINT_RESYNC;
        rec->rs_fsuid   = op_data->op_fsuid;
        rec->rs_fsgid   = op_data->op_fsgid;
-       rec->rs_cap     = op_data->op_cap.cap[0];
+       rec->rs_cap     = ll_capability_u32(op_data->op_cap);
        rec->rs_fid     = op_data->op_fid1;
        rec->rs_bias    = op_data->op_bias;
        rec->rs_mirror_id = op_data->op_mirror_id;