Related to: #VSTOR-117505
Signed-off-by: Liu Kui <[email protected]>
---
fs/fuse/kio/pcs/pcs_client_types.h | 7 ------
fs/fuse/kio/pcs/pcs_req.h | 36 ------------------------------
2 files changed, 43 deletions(-)
diff --git a/fs/fuse/kio/pcs/pcs_client_types.h
b/fs/fuse/kio/pcs/pcs_client_types.h
index 0b06a0e20898..0b5f8587441d 100644
--- a/fs/fuse/kio/pcs/pcs_client_types.h
+++ b/fs/fuse/kio/pcs/pcs_client_types.h
@@ -166,13 +166,6 @@ typedef struct _pcs_api_iorequest_t {
void (*complete)(struct _pcs_api_iorequest_t *);
} pcs_api_iorequest_t;
-typedef struct _pcs_api_csconnreq_t {
- PCS_NODE_ID_T id; /* CS id */
- PCS_NET_ADDR_T addr; /* CS addr */
- int error; /* pcs_errors.h */
- void (*complete)(struct _pcs_api_csconnreq_t *, int);
-} pcs_api_csconnreq_t;
-
/*
* Useful macro
*/
diff --git a/fs/fuse/kio/pcs/pcs_req.h b/fs/fuse/kio/pcs/pcs_req.h
index 94fcfdbc7936..4c7ee792df29 100644
--- a/fs/fuse/kio/pcs/pcs_req.h
+++ b/fs/fuse/kio/pcs/pcs_req.h
@@ -211,42 +211,6 @@ struct pcs_int_request
int cs_index;
} token;
- struct {
- u64 offset;
- int phase;
- PCS_MAP_VERSION_T version;
- struct list_head waiters;
- } truncreq;
-
- struct {
- unsigned int flags;
- unsigned int tout;
- int retries;
- } leasereq;
-
- struct {
- unsigned int op;
- unsigned int flags;
- union {
- struct pcs_dentry_info *dst_de; /* Only
for rename */
- off_t new_size; /* Only
for resize */
- const char *data; /* Only
for symlink */
- } arg;
- } filereq;
-
- struct {
- pcs_api_csconnreq_t *req; /* Client request */
- struct pcs_cluster_core *clu; /* dentry == NULL */
- struct pcs_msg msg;
- int out_fd;
- } csconnreq;
-
- struct {
- void (*action)(struct
pcs_int_request *ireq);
- void (*destruct)(struct
pcs_int_request *ireq);
- void* ctx;
- } custom;
-
struct {
pcs_api_iorequest_t * req; /* Client
request */
unsigned int dio_offset; /* MBZ */
--
2.39.5 (Apple Git-154)
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel