Parcourir la source

NLM: Fix a bogus 'return' in nlmclnt_rpc_release

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Trond Myklebust il y a 18 ans
Parent
commit
65fdf7d264
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      fs/lockd/clntproc.c

+ 1 - 1
fs/lockd/clntproc.c

@@ -244,7 +244,7 @@ void nlm_release_call(struct nlm_rqst *call)
 
 static void nlmclnt_rpc_release(void *data)
 {
-	return nlm_release_call(data);
+	nlm_release_call(data);
 }
 
 static int nlm_wait_on_grace(wait_queue_head_t *queue)