diff options
Diffstat (limited to 'fs/smbfs/request.c')
| -rw-r--r-- | fs/smbfs/request.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/smbfs/request.c b/fs/smbfs/request.c index 60567c1fe960..de40d377c7a0 100644 --- a/fs/smbfs/request.c +++ b/fs/smbfs/request.c @@ -27,6 +27,8 @@ /* cache for request structures */ static kmem_cache_t *req_cachep; +static int smb_request_send_req(struct smb_request *req); + /* /proc/slabinfo: name, active, num, objsize, active_slabs, num_slaps, #pages @@ -132,7 +134,7 @@ static void smb_free_request(struct smb_request *req) * What prevents a rget to race with a rput? The count must never drop to zero * while it is in use. Only rput if it is ok that it is free'd. */ -void smb_rget(struct smb_request *req) +static void smb_rget(struct smb_request *req) { atomic_inc(&req->rq_count); } @@ -379,7 +381,7 @@ int smb_add_request(struct smb_request *req) * Send a request and place it on the recvq if successfully sent. * Must be called with the server lock held. */ -int smb_request_send_req(struct smb_request *req) +static int smb_request_send_req(struct smb_request *req) { struct smb_sb_info *server = req->rq_server; int result; |
