summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/lib/src/rpcsvc.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-11-03 06:35:28 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-03 21:36:55 -0700
commitb16c0784da56fc2e7d660753882ec63587e2049e (patch)
tree74ba34ba4ce5aea8b3bae24aa7a32981ca392083 /xlators/nfs/lib/src/rpcsvc.h
parentd6d7a85487d8ec8017d1d13aa36642ad0355b3e4 (diff)
nfs: Remove conn_destroy/init callbacks
NFS is transport-independent, so no point emulating knowledge of transportin software. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1743 (XenServer is not compatible with GlusterNFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1743
Diffstat (limited to 'xlators/nfs/lib/src/rpcsvc.h')
-rw-r--r--xlators/nfs/lib/src/rpcsvc.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.h b/xlators/nfs/lib/src/rpcsvc.h
index 79f9809e73c..7f73520d4a4 100644
--- a/xlators/nfs/lib/src/rpcsvc.h
+++ b/xlators/nfs/lib/src/rpcsvc.h
@@ -448,8 +448,6 @@ typedef struct rpc_svc_actor_desc {
} rpcsvc_actor_t;
-typedef int (*rpcsvc_conn_notify_fn) (void *progpriv, rpcsvc_conn_t *conn);
-
/* Describes a program and its version along with the function pointers
* required to handle the procedures/actors of each program/version.
* Never changed ever by any thread so no need for a lock.
@@ -470,18 +468,6 @@ struct rpc_svc_program {
/* Program specific state handed to actors */
void *private;
- /* This upcall is made when a connection's refcount reaches 0 and the
- * connection is about to be destroyed. We want to let the RPC program
- * know that it should also now free any state it is maintaining
- * for this connection.
- */
- rpcsvc_conn_notify_fn conn_destroy;
-
- /* Used to tell RPC program to init the state it needs to associate
- * with the new connection.
- */
- rpcsvc_conn_notify_fn conn_init;
-
/* An integer that identifies the min auth strength that is required
* by this protocol, for eg. MOUNT3 needs AUTH_UNIX at least.
* See RFC 1813, Section 5.2.1.