Commit f6dd975
pipe: merge anon_pipe_buf*_ops
All the op vectors are exactly the same, they are just used to encode
packet or nomerge behavior. There already is a flag for the packet
behavior, so just add a new one to allow for merging. Inverting it vs
the previous nomerge special casing actually allows for much nicer code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent 00c285d commit f6dd975
3 files changed
+11
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
238 | 237 | | |
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 241 | | |
277 | 242 | | |
278 | 243 | | |
| |||
478 | 443 | | |
479 | 444 | | |
480 | 445 | | |
481 | | - | |
| 446 | + | |
| 447 | + | |
482 | 448 | | |
483 | 449 | | |
484 | 450 | | |
| |||
541 | 507 | | |
542 | 508 | | |
543 | 509 | | |
544 | | - | |
545 | | - | |
546 | | - | |
| 510 | + | |
547 | 511 | | |
548 | | - | |
| 512 | + | |
| 513 | + | |
549 | 514 | | |
550 | 515 | | |
551 | 516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1624 | 1624 | | |
1625 | 1625 | | |
1626 | 1626 | | |
1627 | | - | |
| 1627 | + | |
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
1631 | | - | |
1632 | | - | |
| 1631 | + | |
1633 | 1632 | | |
1634 | 1633 | | |
1635 | 1634 | | |
| |||
1717 | 1716 | | |
1718 | 1717 | | |
1719 | 1718 | | |
1720 | | - | |
1721 | | - | |
| 1719 | + | |
| 1720 | + | |
1722 | 1721 | | |
1723 | 1722 | | |
1724 | | - | |
1725 | | - | |
| 1723 | + | |
1726 | 1724 | | |
1727 | 1725 | | |
1728 | 1726 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
236 | | - | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
0 commit comments