From: Nathaniel Clark Date: Fri, 10 Jun 2016 02:35:12 +0000 (-0400) Subject: staging/lustre/fid: Fix Multiple Assignments X-Git-Tag: Ubuntu-5.2.0-15.16~8825^2~229 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a30dd801fad1ff961c8eb28850b3b8d013316743;p=mirror_ubuntu-eoan-kernel.git staging/lustre/fid: Fix Multiple Assignments Fix all multiple assignments on lustre/fid directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/fid/fid_request.c b/drivers/staging/lustre/lustre/fid/fid_request.c index 3a4df626462f..9db21babd2f4 100644 --- a/drivers/staging/lustre/lustre/fid/fid_request.c +++ b/drivers/staging/lustre/lustre/fid/fid_request.c @@ -98,8 +98,10 @@ static int seq_client_rpc(struct lu_client_seq *seq, * request here, otherwise if MDT0 is failed(umounted), * it can not release the export of MDT0 */ - if (seq->lcs_type == LUSTRE_SEQ_DATA) - req->rq_no_delay = req->rq_no_resend = 1; + if (seq->lcs_type == LUSTRE_SEQ_DATA) { + req->rq_no_delay = 1; + req->rq_no_resend = 1; + } debug_mask = D_CONSOLE; } else { if (seq->lcs_type == LUSTRE_SEQ_METADATA) {