Commit ad3d24c
committed
SUNRPC: Clean up xdr_write_pages()
Make it more evident how xdr_write_pages() updates the tail buffer
by using the convention of naming the iov pointer variable "tail".
I spent more than a couple of hours chasing through code to
understand this, so someone is likely to find this useful later.
Signed-off-by: Chuck Lever <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>1 parent da522b5 commit ad3d24c
1 file changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
1230 | 1230 | | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
1231 | 1234 | | |
1232 | 1235 | | |
1233 | 1236 | | |
1234 | 1237 | | |
1235 | 1238 | | |
1236 | | - | |
| 1239 | + | |
| 1240 | + | |
1237 | 1241 | | |
1238 | 1242 | | |
1239 | 1243 | | |
1240 | 1244 | | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
1244 | 1248 | | |
1245 | 1249 | | |
1246 | 1250 | | |
1247 | 1251 | | |
1248 | 1252 | | |
1249 | | - | |
1250 | | - | |
| 1253 | + | |
| 1254 | + | |
1251 | 1255 | | |
1252 | 1256 | | |
1253 | 1257 | | |
| |||
0 commit comments