Skip to content
Snippets Groups Projects
Commit dfc95ccd authored by huanghua's avatar huanghua
Browse files

Branch b1_8_gate

b=11930
i=adilger
i=nikita.danilov
i=alex
parent ec8050d8
No related merge requests found
......@@ -122,6 +122,7 @@ static void ll_close_done_writing(struct inode *inode)
ldlm_policy_data_t policy = { .l_extent = {0, OBD_OBJECT_EOF } };
struct lustre_handle lockh = { 0 };
struct obdo obdo;
struct mdc_op_data data = { { 0 } };
obd_flag valid;
int rc, ast_flags = 0;
ENTRY;
......@@ -166,7 +167,8 @@ static void ll_close_done_writing(struct inode *inode)
obdo.o_blocks = inode->i_blocks;
obdo.o_valid = OBD_MD_FLID | OBD_MD_FLSIZE | OBD_MD_FLBLOCKS;
rc = mdc_done_writing(ll_i2sbi(inode)->ll_mdc_exp, &obdo);
ll_inode2fid(&data.fid1, inode);
rc = mdc_done_writing(ll_i2sbi(inode)->ll_mdc_exp, &data, &obdo);
out:
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment