Message ID | 20240905191011.41650-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 E737818FC7C for <linux-nfs@vger.kernel.org>; Thu, 5 Sep 2024 19:10:27 +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=1725563428; cv=none; b=feakzc8HAwUU5JmKZUP2YLZ/IYxCdYIwbKgbSSoKeqxZ10krfHgyeTXPae7uSZy6XNlGdgfojSxeKKowV0YANq980d5eBO7KMU6T8OXJRSwOvf/opaCIWNCM1PV5ykfxubAxizQzrg4bcv78OEEpW2u3mSprFuzQTmryWPlYGpI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725563428; c=relaxed/simple; bh=v6Kr4aZMTqmzIOXKWJ8riLtR4R1j9G1RaF8LPR4sBk8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PcF9IC2LAilFee9iBDYvsWlO6yCBEjtJ+Jkx6PCT3bHWmklAOY2gcaTqNzr6lnmkRRQqmSqGlA7rd25vv32UyyFtPWOdiApx/V4i/yO+A8EV0N/UJInD+Fih3K13Dt+Rrb0ru/X6BFovW7OYkv3cEXrwkp+d+f5GuK2tLafr+IY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kh+WOa18; 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="kh+WOa18" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90CDDC4CEC6; Thu, 5 Sep 2024 19:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725563427; bh=v6Kr4aZMTqmzIOXKWJ8riLtR4R1j9G1RaF8LPR4sBk8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kh+WOa18kOBZZM9FdF5xoqi6TFelazBVi0d5H/qHEoR4bwq+BYXlQRWaHnmrb9uGt dVicAeFoq730RfZC+qnZSHcE70l3eR7NXoyHiz5if4hRaSsNroW2b7Ri9hS1gw4GJC HsJp0ekcEd4G4XE8n+rYK9O+FF9Zn5qhBy+fUlsJ2LXaZpilohwpfmYBYrov098jr9 aEsguWuM3th6iCUg5wd2W/DADFreYVpBBWXp6rHvV3wn+/IpCRZ8USXbnShWLzpbex q2vRQXxaCq7bBefqR9RSdgfvK0jlrG3d51Wy1j2/UL4ZbdlaWM1PX/HVWNh6I+ABmL 0g6d6bfDUy14A== 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> Subject: [PATCH v16 11/26] SUNRPC: remove call_allocate() BUG_ONs Date: Thu, 5 Sep 2024 15:09:45 -0400 Message-ID: <20240905191011.41650-12-snitzer@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240905191011.41650-1-snitzer@kernel.org> References: <20240905191011.41650-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