diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/svc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index e7b716c76366..bf46186ddf9f 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -534,8 +534,9 @@ svc_init_buffer(struct svc_rqst *rqstp, unsigned int size) | |||
534 | static void | 534 | static void |
535 | svc_release_buffer(struct svc_rqst *rqstp) | 535 | svc_release_buffer(struct svc_rqst *rqstp) |
536 | { | 536 | { |
537 | int i; | 537 | unsigned int i; |
538 | for (i=0; i<ARRAY_SIZE(rqstp->rq_pages); i++) | 538 | |
539 | for (i = 0; i < ARRAY_SIZE(rqstp->rq_pages); i++) | ||
539 | if (rqstp->rq_pages[i]) | 540 | if (rqstp->rq_pages[i]) |
540 | put_page(rqstp->rq_pages[i]); | 541 | put_page(rqstp->rq_pages[i]); |
541 | } | 542 | } |