diff --git a/fs/hmdfs/hmdfs_client.c b/fs/hmdfs/hmdfs_client.c index fa8e7435c1efe38d6de68695b3b16c75f6ef023e..9da73ee38c33252054fc823dece6642a0208b49c 100644 --- a/fs/hmdfs/hmdfs_client.c +++ b/fs/hmdfs/hmdfs_client.c @@ -40,6 +40,7 @@ int hmdfs_send_open(struct hmdfs_peer *con, const char *send_buf, struct hmdfs_send_command sm = { .data = open_req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_OPEN); @@ -102,6 +103,7 @@ int hmdfs_send_fsync(struct hmdfs_peer *con, const struct hmdfs_fid *fid, struct hmdfs_send_command sm = { .data = fsync_req, .len = sizeof(struct fsync_request), + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_FSYNC); @@ -464,6 +466,7 @@ int hmdfs_client_start_mkdir(struct hmdfs_peer *con, struct hmdfs_send_command sm = { .data = mkdir_req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_MKDIR); @@ -511,6 +514,7 @@ int hmdfs_client_start_create(struct hmdfs_peer *con, struct hmdfs_send_command sm = { .data = create_req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_CREATE); @@ -556,6 +560,7 @@ int hmdfs_client_start_rmdir(struct hmdfs_peer *con, const char *path, struct hmdfs_send_command sm = { .data = rmdir_req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_RMDIR); @@ -585,6 +590,7 @@ int hmdfs_client_start_unlink(struct hmdfs_peer *con, const char *path, struct hmdfs_send_command sm = { .data = unlink_req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_UNLINK); @@ -619,6 +625,7 @@ int hmdfs_client_start_rename(struct hmdfs_peer *con, const char *old_path, struct hmdfs_send_command sm = { .data = rename_req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_RENAME); @@ -714,6 +721,7 @@ int hmdfs_send_getattr(struct hmdfs_peer *con, const char *send_buf, struct hmdfs_send_command sm = { .data = req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_GETATTR); @@ -768,6 +776,7 @@ int hmdfs_send_statfs(struct hmdfs_peer *con, const char *path, struct hmdfs_send_command sm = { .data = req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_STATFS); @@ -850,6 +859,7 @@ int hmdfs_send_getxattr(struct hmdfs_peer *con, const char *send_buf, struct hmdfs_send_command sm = { .data = req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_GETXATTR); @@ -937,6 +947,7 @@ ssize_t hmdfs_send_listxattr(struct hmdfs_peer *con, const char *send_buf, struct hmdfs_send_command sm = { .data = req, .len = send_len, + .out_buf = NULL, }; hmdfs_init_cmd(&sm.operations, F_LISTXATTR);