Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5430070ybv; Mon, 17 Feb 2020 20:05:16 -0800 (PST) X-Google-Smtp-Source: APXvYqwRCmx1Pfq9tQd/aZ7aZESqlB9d37uBlfClSTF6Jt9mShZAORatQnltCKDTG7y+wytsFWOS X-Received: by 2002:a54:4707:: with SMTP id k7mr71519oik.153.1581998716090; Mon, 17 Feb 2020 20:05:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581998716; cv=none; d=google.com; s=arc-20160816; b=BBqd2grc1NMN16ZF9Sub0nSFHytNbZ5bHPjIeqR6x37i+7Ra+/Ksy/FiKLxs+MjGeP RryAF1fyynV3dsm7AOtuHJSagerYtPih6zMd/dGLWZw/GrZ1XeP7WgN5vtHsQPGRlJ1q Eig4X6e8Ul+3Jm4UDi8/ZuEr/USljGWCjdo0+5Eg3Q9HZ3y/1d3goEOKUxyORYr7qG+U AsE+p3eW+FwCz6xP1LSZwA/pOeOgzONuEPqrPbaxs/GHPU1IILdgIfqQDcMpxaSrRI+I OzKlzs2WWGnQrUGDdlmOtEjaCtZFlur7OHmb4Xb0hLXb3kEiA9D0oEZ0q07DLwMPME8h WvNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date:dkim-signature; bh=vY7fH5iDeVgQ09OH+F6dLJt4UbcEen0dlqaa+tULjdE=; b=FdNQEtuU9OirjazaCp7wysTSqZXRHwTpb/jDaVYjynxDnDVHIaqAuGhroQbKTtXW00 1vJChkMc1jWzigOc2bw0WuV+0tuKBWBDdgaob8RBeWQeTLNWFfmM8NTQyqBNz3NlVt5B 4mVEsOFaEKLqwDvmxAVLo29EE/ICV2taWNT56ZJL/7VkXy9WVjMt1LKQ1KcgGF8ttnYE ZdJQ4jjB5//OTEhzXhaLz1XtwNH8pnCEwT8JEYd2F2uQxgt1Y6pa7cMjoBFV/F2eE4LG r2Aw5kcUOP5Vaa2+VyN8ULEM8c7mEIcvRBCelGr/TnETJBaOxt9w0vdUoqgHAqDMTQvs f2bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JhhyvvVn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s64si7612013oig.147.2020.02.17.20.05.03; Mon, 17 Feb 2020 20:05:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JhhyvvVn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbgBREEx (ORCPT + 99 others); Mon, 17 Feb 2020 23:04:53 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:41263 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbgBREEx (ORCPT ); Mon, 17 Feb 2020 23:04:53 -0500 Received: by mail-ot1-f68.google.com with SMTP id r27so18206247otc.8 for ; Mon, 17 Feb 2020 20:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=vY7fH5iDeVgQ09OH+F6dLJt4UbcEen0dlqaa+tULjdE=; b=JhhyvvVnW/WJF6OWpshfuCwPF3Of9bbZrhhG6XRf0E86J3/7v/RkhOzZX6CIdYzsv9 SvxjYNrN9wEg5HI49WAJVQ9IrZaBt0AU9Dt+RIqXGlUMwCQsLHDWootAPODDw4SoVkNZ oeOmn+NM41WHy7dcKokNWxfAcTYyCFhsLDUPALuQCB6tIplfrefz+/qzgTNjDKeiTt6G +72dFPbt5QOlM/QAjxWs+WIBnXsJAxhHGq1nDtHN4AlMLNt6JtTPEQxLW+vQC+sTDeT8 8uvxbsQZyBesOwM+YyWQIBrdKfPIg5QHCKM4Xlr6iWvJfRdm5tLinWJ0SZGuDujl6CKO dzoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=vY7fH5iDeVgQ09OH+F6dLJt4UbcEen0dlqaa+tULjdE=; b=EhLzCsuMZGYK2GOd/2QWzlrqppCCA/XdKHZV4+/rWgAzR2sqTsWH9JZkgWIVEG1xhh nVJagEgSDVSL44L/q0WaDVkFziBzYJkTHhia3SJ+kBGFqfjnkhRcqXlsJYXk3Gb3E0n3 108BlB39Px5MvsWYe1+qfeDyebdqz0nY3s0zSR3KhUwb6hT1OtekIK9I24hnOGuK1/5A OiGg8ldZfmE1xFM2RdgEoVUozu8Lo2k8ciRPnyEgZmZ4d6hqvnX/22NTtqu2guthXxYo cLqi2aAr7H5gbBhfGBRlvK8ytGQ53+y2MzzyfkLKM1OXmT5HG8E1Lz1l86JOFgepWzpS 3pMw== X-Gm-Message-State: APjAAAWA6LLxd3iTGiDvTZlRfGomH861vSazwsEI5syVNsYPoVW8Abal 4OdLO8wiFtshNBsr5dLZU1OiW9C9FlU= X-Received: by 2002:a9d:7:: with SMTP id 7mr13839013ota.26.1581998690798; Mon, 17 Feb 2020 20:04:50 -0800 (PST) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id r80sm821143oie.41.2020.02.17.20.04.49 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Feb 2020 20:04:50 -0800 (PST) Date: Mon, 17 Feb 2020 20:04:19 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Al Viro cc: linux-kernel@vger.kernel.org Subject: [PATCH] tmpfs: deny and force are not huge mount options Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 5.6-rc1 commit 2710c957a8ef ("fs_parse: get rid of ->enums") regressed the huge tmpfs mount options to an earlier state: "deny" and "force" are not valid there, and can crash the kernel. Delete those lines. Signed-off-by: Hugh Dickins --- mm/shmem.c | 2 -- 1 file changed, 2 deletions(-) --- 5.6-rc2/mm/shmem.c 2020-02-09 17:36:41.798976778 -0800 +++ linux/mm/shmem.c 2020-02-17 19:27:22.704093986 -0800 @@ -3386,8 +3386,6 @@ static const struct constant_table shmem {"always", SHMEM_HUGE_ALWAYS }, {"within_size", SHMEM_HUGE_WITHIN_SIZE }, {"advise", SHMEM_HUGE_ADVISE }, - {"deny", SHMEM_HUGE_DENY }, - {"force", SHMEM_HUGE_FORCE }, {} };