NFS client bugfixes for Linux 5.1
Highlights include: Bugfixes: - Fix a regression in which an RPC call can be tagged with an error despite the transmission being successful -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJcu3IgAAoJEA4mA3inWBJcYEAP/jb/O5l2ANmUyMaxew6JMTBH ULxTyqM8R6B0eifWpBzFjoQjEhywyY6Y3WtY5SnPszHEAR9xZdkLtfTQRySNKOAG l19VbhIlSKFbBOvXAOXkcdaaIsk3XPl66Drk9SD3DMa5RYdBcF0Kc7bUfF1N4dS7 SS9T97AelHSpMJLpy7CxMMccIXj/Z/65nHNtKlbG7IRqKBdcM6mJeiut+6R/CUv9 NTq+f+ZgnJYsra1oIWbnn5CvQc0c0owl//NIqhos5GFwOAdfdKxNcEuDMcy7QM06 QW+T51omJgQuLwP3EOsOge6apo8Y8FlmxeCCraLGRDKHUlvTJzqtBpO35bJSsJSE 6qjpS8xu2luFmIDGumQib/xVYzVJJjmOJCMUYM6x+XV0TUhJ2l7WASmt7M+1OJCT j7MJqLBdl2rCM+iNa2tDWLHUElsLOqBCqyFHvngR45yYzyCfUPUM3J+BMij/3yGA 7dO4R2Ii346Iv8iafxr2FfOIB24OxkkDb+I/cVI7GmzbyCTixKaCjrDcJVlsMJCf rGfZXrep2zrP6AmompOCxUeU3RzJZ4RJRdJ3gTm3aFmqxGlPA5U1MR7MIkRSN4MB HGShI3jW/Ph9ZoYj7nZ+afyu0V8WJDDtdyqDs/k7HCKeFv2/TL/XxMjlas4n0puB yhvwt1iW0ZO5f5RlJ6vy =3T3x -----END PGP SIGNATURE----- Merge tag 'nfs-for-5.1-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs Pull NFS client bugfix from Trond Myklebust: "Fix a regression in which an RPC call can be tagged with an error despite the transmission being successful" * tag 'nfs-for-5.1-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: SUNRPC: Ignore queue transmission errors on successful transmission
This commit is contained in:
Коммит
9e5de623a0
|
@ -2081,8 +2081,8 @@ call_transmit_status(struct rpc_task *task)
|
|||
* test first.
|
||||
*/
|
||||
if (rpc_task_transmitted(task)) {
|
||||
if (task->tk_status == 0)
|
||||
xprt_request_wait_receive(task);
|
||||
task->tk_status = 0;
|
||||
xprt_request_wait_receive(task);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2167,6 +2167,9 @@ call_bc_transmit_status(struct rpc_task *task)
|
|||
{
|
||||
struct rpc_rqst *req = task->tk_rqstp;
|
||||
|
||||
if (rpc_task_transmitted(task))
|
||||
task->tk_status = 0;
|
||||
|
||||
dprint_status(task);
|
||||
|
||||
switch (task->tk_status) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче