File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -150,14 +150,7 @@ extern u32 svc_max_payload(const struct svc_rqst *rqstp);
150
150
* list. xdr_buf.tail points to the end of the first page.
151
151
* This assumes that the non-page part of an rpc reply will fit
152
152
* in a page - NFSd ensures this. lockd also has no trouble.
153
- *
154
- * Each request/reply pair can have at most one "payload", plus two pages,
155
- * one for the request, and one for the reply.
156
- * We using ->sendfile to return read data, we might need one extra page
157
- * if the request is not page-aligned. So add another '1'.
158
153
*/
159
- #define RPCSVC_MAXPAGES ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE \
160
- + 2 + 1)
161
154
162
155
/**
163
156
* svc_serv_maxpages - maximum count of pages needed for one RPC message
You can’t perform that action at this time.
0 commit comments