aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/cmservice.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/afs/cmservice.c')
-rw-r--r--fs/afs/cmservice.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c
index 47b71c8947f9..75da3d04612c 100644
--- a/fs/afs/cmservice.c
+++ b/fs/afs/cmservice.c
@@ -26,8 +26,8 @@ static int afs_deliver_cb_init_call_back_state3(struct afs_call *,
26 struct sk_buff *, bool); 26 struct sk_buff *, bool);
27static int afs_deliver_cb_probe(struct afs_call *, struct sk_buff *, bool); 27static int afs_deliver_cb_probe(struct afs_call *, struct sk_buff *, bool);
28static int afs_deliver_cb_callback(struct afs_call *, struct sk_buff *, bool); 28static int afs_deliver_cb_callback(struct afs_call *, struct sk_buff *, bool);
29static int afs_deliver_cb_get_capabilities(struct afs_call *, struct sk_buff *, 29static int afs_deliver_cb_tell_me_about_yourself(struct afs_call *,
30 bool); 30 struct sk_buff *, bool);
31static void afs_cm_destructor(struct afs_call *); 31static void afs_cm_destructor(struct afs_call *);
32 32
33/* 33/*
@@ -71,11 +71,11 @@ static const struct afs_call_type afs_SRXCBProbe = {
71}; 71};
72 72
73/* 73/*
74 * CB.GetCapabilities operation type 74 * CB.TellMeAboutYourself operation type
75 */ 75 */
76static const struct afs_call_type afs_SRXCBGetCapabilites = { 76static const struct afs_call_type afs_SRXCBTellMeAboutYourself = {
77 .name = "CB.GetCapabilities", 77 .name = "CB.TellMeAboutYourself",
78 .deliver = afs_deliver_cb_get_capabilities, 78 .deliver = afs_deliver_cb_tell_me_about_yourself,
79 .abort_to_error = afs_abort_to_error, 79 .abort_to_error = afs_abort_to_error,
80 .destructor = afs_cm_destructor, 80 .destructor = afs_cm_destructor,
81}; 81};
@@ -103,8 +103,8 @@ bool afs_cm_incoming_call(struct afs_call *call)
103 case CBProbe: 103 case CBProbe:
104 call->type = &afs_SRXCBProbe; 104 call->type = &afs_SRXCBProbe;
105 return true; 105 return true;
106 case CBGetCapabilities: 106 case CBTellMeAboutYourself:
107 call->type = &afs_SRXCBGetCapabilites; 107 call->type = &afs_SRXCBTellMeAboutYourself;
108 return true; 108 return true;
109 default: 109 default:
110 return false; 110 return false;
@@ -395,7 +395,7 @@ static int afs_deliver_cb_probe(struct afs_call *call, struct sk_buff *skb,
395/* 395/*
396 * allow the fileserver to ask about the cache manager's capabilities 396 * allow the fileserver to ask about the cache manager's capabilities
397 */ 397 */
398static void SRXAFSCB_GetCapabilities(struct work_struct *work) 398static void SRXAFSCB_TellMeAboutYourself(struct work_struct *work)
399{ 399{
400 struct afs_interface *ifs; 400 struct afs_interface *ifs;
401 struct afs_call *call = container_of(work, struct afs_call, work); 401 struct afs_call *call = container_of(work, struct afs_call, work);
@@ -456,10 +456,10 @@ static void SRXAFSCB_GetCapabilities(struct work_struct *work)
456} 456}
457 457
458/* 458/*
459 * deliver request data to a CB.GetCapabilities call 459 * deliver request data to a CB.TellMeAboutYourself call
460 */ 460 */
461static int afs_deliver_cb_get_capabilities(struct afs_call *call, 461static int afs_deliver_cb_tell_me_about_yourself(struct afs_call *call,
462 struct sk_buff *skb, bool last) 462 struct sk_buff *skb, bool last)
463{ 463{
464 _enter(",{%u},%d", skb->len, last); 464 _enter(",{%u},%d", skb->len, last);
465 465
@@ -471,7 +471,7 @@ static int afs_deliver_cb_get_capabilities(struct afs_call *call,
471 /* no unmarshalling required */ 471 /* no unmarshalling required */
472 call->state = AFS_CALL_REPLYING; 472 call->state = AFS_CALL_REPLYING;
473 473
474 INIT_WORK(&call->work, SRXAFSCB_GetCapabilities); 474 INIT_WORK(&call->work, SRXAFSCB_TellMeAboutYourself);
475 schedule_work(&call->work); 475 schedule_work(&call->work);
476 return 0; 476 return 0;
477} 477}