Commit d9adbb6
sunrpc: delay pc_release callback until after the reply is sent
The server-side sunrpc code currently calls pc_release before sending
the reply. Change svc_process and svc_process_bc to call pc_release
after sending the reply instead.
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>1 parent c1f203e commit d9adbb6
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | | - | |
1430 | | - | |
1431 | 1429 | | |
1432 | 1430 | | |
1433 | 1431 | | |
| |||
1526 | 1524 | | |
1527 | 1525 | | |
1528 | 1526 | | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
1529 | 1535 | | |
1530 | 1536 | | |
1531 | 1537 | | |
| |||
1565 | 1571 | | |
1566 | 1572 | | |
1567 | 1573 | | |
1568 | | - | |
| 1574 | + | |
| 1575 | + | |
1569 | 1576 | | |
| 1577 | + | |
1570 | 1578 | | |
| 1579 | + | |
1571 | 1580 | | |
1572 | 1581 | | |
1573 | 1582 | | |
| |||
1635 | 1644 | | |
1636 | 1645 | | |
1637 | 1646 | | |
| 1647 | + | |
1638 | 1648 | | |
1639 | 1649 | | |
1640 | 1650 | | |
| |||
1648 | 1658 | | |
1649 | 1659 | | |
1650 | 1660 | | |
| 1661 | + | |
1651 | 1662 | | |
1652 | 1663 | | |
1653 | 1664 | | |
| |||
0 commit comments