Message ID | 20240831223755.8569-12-snitzer@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6537183063; Sat, 31 Aug 2024 22:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725143891; cv=none; b=ttOXJvR74NrTk0mE9ZolrktaV0zWhM2mjqq3VN/A9+Gg9h1low/7JvVauPwaH4iHHT4zoOEjilYlsovLmmaL9buYYtJgt+N1QCdScXf/yccteQnOIGR5VAexiuHtQfV20/wWhcd9X7jg7divKQbsZlGbMmhhBVULdHYf0ygzrD4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725143891; c=relaxed/simple; bh=v6Kr4aZMTqmzIOXKWJ8riLtR4R1j9G1RaF8LPR4sBk8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oODPSO7NcgDdu9wG91DQwcKcm5Q1Kg131KlK2WncvX2Fn4N2ZmYvqrm6BKs0CfEdPTiyoWBW/txjJXUTjHslqIO5QyHFdxXSiY9hgpUL/yUMSpJFJHtm4Xc0iZnqmiHDapg6YG+PrvI/G+aeqHeMS6ROHgvaSTTWmDJXW26E898= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=draZYXQs; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="draZYXQs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E60AC4CEC4; Sat, 31 Aug 2024 22:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725143891; bh=v6Kr4aZMTqmzIOXKWJ8riLtR4R1j9G1RaF8LPR4sBk8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=draZYXQsGhUB86kV11FI4jYEchkEuWeH8qUhR5vUXin9rqvquHhmlCy4/vyd4EJu+ P767N+NEc6wuLJaIjAYykHn+UQ0DhyGYpWAQ3qG9hTvNeLlAY7//234Et0NBOZJXGo DEQRbPLapH/rwyS61kbqvQyS/PAZJcZ/RMiU9PeSjqiciaoHmM3hpHDu0NqLqim1e9 pS5NhSkwqaCSnNnzohm49ZNfiqqp5q00mb9J58cToP45X6hyHPiHxuFiaXT2XHJ6sw cg40o/SR4bp65Nbn8tSmCEYnSZX8kmjoSvw/roaY9D3IvsDGZB89w2nULoAgVH5b7J 6XutlrYMDW/tA== From: Mike Snitzer <snitzer@kernel.org> To: linux-nfs@vger.kernel.org Cc: Jeff Layton <jlayton@kernel.org>, Chuck Lever <chuck.lever@oracle.com>, Anna Schumaker <anna@kernel.org>, Trond Myklebust <trondmy@hammerspace.com>, NeilBrown <neilb@suse.de>, linux-fsdevel@vger.kernel.org Subject: [PATCH v15 11/26] SUNRPC: remove call_allocate() BUG_ONs Date: Sat, 31 Aug 2024 18:37:31 -0400 Message-ID: <20240831223755.8569-12-snitzer@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240831223755.8569-1-snitzer@kernel.org> References: <20240831223755.8569-1-snitzer@kernel.org> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: <linux-nfs.vger.kernel.org> List-Subscribe: <mailto:linux-nfs+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-nfs+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
nfs/nfsd: add support for LOCALIO
|
expand
|
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 09f29a95f2bc..00fe6df11ab7 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -1893,12 +1893,6 @@ call_allocate(struct rpc_task *task) if (req->rq_buffer) return; - if (proc->p_proc != 0) { - BUG_ON(proc->p_arglen == 0); - if (proc->p_decode != NULL) - BUG_ON(proc->p_replen == 0); - } - /* * Calculate the size (in quads) of the RPC call * and reply headers, and convert both values