|
@@ -197,6 +197,7 @@ static int ll_close_inode_openhandle(struct obd_export *md_exp,
|
|
}
|
|
}
|
|
if (rc == 0 && op_data->op_bias & MDS_HSM_RELEASE) {
|
|
if (rc == 0 && op_data->op_bias & MDS_HSM_RELEASE) {
|
|
struct mdt_body *body;
|
|
struct mdt_body *body;
|
|
|
|
+
|
|
body = req_capsule_server_get(&req->rq_pill, &RMF_MDT_BODY);
|
|
body = req_capsule_server_get(&req->rq_pill, &RMF_MDT_BODY);
|
|
if (!(body->valid & OBD_MD_FLRELEASED))
|
|
if (!(body->valid & OBD_MD_FLRELEASED))
|
|
rc = -EBUSY;
|
|
rc = -EBUSY;
|