From nobody Tue Sep 03 10:26:47 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wyhcm5B90z5MkW8; Tue, 03 Sep 2024 10:26:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wyhcm07Bhz4rpW; Tue, 3 Sep 2024 10:26:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SnvByBTQI9/2d8bQkLMCKOPXCa2nnZnkOoJcBYwmTr8=; b=J7RFlx4wy/9g7C5p3WfNFwr//cX7xoHM9B2+zLKnPngNaO01sEzK9L+XNaqYsO5z4PczoQ B8yZLJgiG4kd3x55F3PNvgerx84sGgWFF/B+VfUyvcaJS5EWQ5gdwP6wD0qPc8HpxNzw+7 j1zD2E0vv+O8g0k9AAyFN31Mj6CMiwyV4O9L/pwAbO/aTfVfrRJrXMw44mhb76N6T32CcB rUv5khj/o42K43o7psiY6ODInx/9815tD6LioPjXPvED/J8aqWG+POigxoFabsgbF/COYP a/zMaOXNiK7OTkDXTab2ST3VaZVk56Zgr2w75dZREtblmL6/+BizGKnDqdsXjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359208; a=rsa-sha256; cv=none; b=chNKogM2NDbct7PlsuAuoUhZeuc5ZGK12Xn87uGOESqH212JcftKk64JzDl7B7v/hMmpZD /UAqzG8kNZozhp4Iu9bQOzRthur79faiABsEmWgmGKHOSDYv1Dm/G3Smbjm7vyxfDeC7gK R7vi07FjoSfizpLYfblxhdTw0Kgz88ax4Zou0qmBgGdhWRKDFwd8QBZHXfhxhJi3KRq8LZ gVwkKovzeHR8M1mm5XHlQZh/AbpcWJogJqmiOYMW51Csr21HB0bKSjQ3LfFzCJfSQ2sowU WxAlZHZIQKyWjE87l7v4npQp7K5Qa/dScVtd2VMW111Ab+Pydeu7tKDm10i+UQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SnvByBTQI9/2d8bQkLMCKOPXCa2nnZnkOoJcBYwmTr8=; b=LlYjzf7TgqQyXYNjUeLF3fIU3rBr1du7NzIcMSW0BmFegaGbH6QflnrdgNgzd+sNJB/CsO wuek8TeQIGHc8Lg+4VTiv7D+rOhepvDzP2o7WJ/jGiwk3B4YIh6Ulx7QNwzQx2aIiCWWJ1 xNe1OxjFAgZOcwEQr7PXdqHsmAY0/eUVgbeMCbmq2aPncK0Q1N4odG94DT2JBZk90DZbQA 59tqDmzWVYPqDI2hFNp/PjHSE+KgDJ12l2d+roDkoBWLZGa0u0EevENDBYdT3Z6gE6Uv6p FMrV3JiHrUE9l+BnDfgYWJgpLpCCrBmsgd+Oxro0EKPEydgbzzPZVQdlpB+ukQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wyhcl6mmBzcsq; Tue, 3 Sep 2024 10:26:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 483AQlYF008909; Tue, 3 Sep 2024 10:26:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483AQlYm008906; Tue, 3 Sep 2024 10:26:47 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:26:47 GMT Message-Id: <202409031026.483AQlYm008906@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 3feb35dc465a - main - udf: Stop checking for failures from malloc(M_WAITOK) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3feb35dc465a8247d70e50792680c230954ef1c1 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=3feb35dc465a8247d70e50792680c230954ef1c1 commit 3feb35dc465a8247d70e50792680c230954ef1c1 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:18 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:18 +0000 udf: Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 --- sys/fs/udf/udf_vnops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c index f230ca0c72fa..98a779280690 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -800,8 +800,6 @@ udf_readdir(struct vop_readdir_args *a) */ ncookies = uio->uio_resid / 8; cookies = malloc(sizeof(*cookies) * ncookies, M_TEMP, M_WAITOK); - if (cookies == NULL) - return (ENOMEM); uiodir.ncookies = ncookies; uiodir.cookies = cookies; uiodir.acookies = 0;