inode);
result.status = NFS3_OK;
+ bluesky_inode_do_sync(inode);
+
g_mutex_unlock(inode->lock);
async_rpc_send_reply(req, &result);
}
result.write3res_u.resok.count = argp->count;
result.write3res_u.resok.committed = FILE_SYNC;
+ bluesky_inode_do_sync(inode);
g_mutex_unlock(inode->lock);
async_rpc_send_reply(req, &result);
result.diropres3_u.resok.obj.post_op_fh3_u.handle.data.data_len = 8;
result.diropres3_u.resok.obj.post_op_fh3_u.handle.data.data_val = (char *)&fh_bytes;
+ bluesky_inode_do_sync(file);
+ bluesky_inode_do_sync(dir);
g_mutex_unlock(file->lock);
g_mutex_unlock(dir->lock);
result.diropres3_u.resok.obj.post_op_fh3_u.handle.data.data_len = 8;
result.diropres3_u.resok.obj.post_op_fh3_u.handle.data.data_val = (char *)&fh_bytes;
+ bluesky_inode_do_sync(file);
+ bluesky_inode_do_sync(dir);
g_mutex_unlock(file->lock);
g_mutex_unlock(dir->lock);
async_rpc_send_reply(req, &result);
result.diropres3_u.resok.obj.post_op_fh3_u.handle.data.data_len = 8;
result.diropres3_u.resok.obj.post_op_fh3_u.handle.data.data_val = (char *)&fh_bytes;
+ bluesky_inode_do_sync(file);
+ bluesky_inode_do_sync(dir);
g_mutex_unlock(file->lock);
g_mutex_unlock(dir->lock);
async_rpc_send_reply(req, &result);
encode_fattr3(&result.wccstat3_u.wcc.after.post_op_attr_u.attributes,
dir);
+ bluesky_inode_do_sync(dir);
g_mutex_unlock(dir->lock);
async_rpc_send_reply(req, &result);
}
encode_fattr3(&result.wccstat3_u.wcc.after.post_op_attr_u.attributes,
dir);
+ bluesky_inode_do_sync(dir);
+ bluesky_inode_do_sync(inode);
g_mutex_unlock(inode->lock);
g_mutex_unlock(dir->lock);
async_rpc_send_reply(req, &result);
else
result.status = NFS3ERR_PERM;
+ bluesky_inode_do_sync(dir2);
+ bluesky_inode_do_sync(dir1);
+
g_mutex_unlock(dir1->lock);
if (dir1->inum != dir2->inum)
g_mutex_unlock(dir2->lock);
encode_fattr3(&result.link3res_u.res.file_attributes.post_op_attr_u.attributes, inode);
result.link3res_u.res.linkdir_wcc = wcc;
+ bluesky_inode_do_sync(inode);
+ bluesky_inode_do_sync(dir);
g_mutex_unlock(inode->lock);
g_mutex_unlock(dir->lock);
async_rpc_send_reply(req, &result);
g_mutex_lock(inode->lock);
encode_pre_wcc(&result.commit3res_u.resok.file_wcc, inode);
- //bluesky_inode_do_sync(inode);
+ bluesky_inode_do_sync(inode);
result.commit3res_u.resok.file_wcc.after.present = TRUE;
encode_fattr3(&result.commit3res_u.resok.file_wcc.after.post_op_attr_u.attributes, inode);