From patchwork Thu May 18 11:47:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 13246634 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32A53C7EE22 for ; Thu, 18 May 2023 11:48:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C82FE28000A; Thu, 18 May 2023 07:48:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C0DC7280001; Thu, 18 May 2023 07:48:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AD5D928000A; Thu, 18 May 2023 07:48:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 9B363280001 for ; Thu, 18 May 2023 07:48:05 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 7364D407AA for ; Thu, 18 May 2023 11:48:05 +0000 (UTC) X-FDA: 80803202130.05.B7ED5AC Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf08.hostedemail.com (Postfix) with ESMTP id CB203160014 for ; Thu, 18 May 2023 11:48:03 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RkTLJNDN; spf=pass (imf08.hostedemail.com: domain of jlayton@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=jlayton@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684410483; a=rsa-sha256; cv=none; b=O23MCpmxYKZlDe48q69pLpcKKsSrvFsqyuZiPG/d0Lh1/XQTgE8h6z9h/2JMHzxmbCfqAg XPKR3ZlxHdxAPcQKmkR7T4cFIkeqKN28MbeK6GX8rYeM3fTPFe4foOWY2Jr2NZjtgbY3ht OY1UcJWirFLusjOKgu9kygDseUpB/Gk= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RkTLJNDN; spf=pass (imf08.hostedemail.com: domain of jlayton@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=jlayton@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684410483; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=5P9g3pPBvkbeHxauxXwwHTnUA5TPE/AahrkPMw6r/FU=; b=AoHHHfgVGkSibNwLOejYx42Frei30FYrGur+bwInEUiJhO7UlADLMb8QrFGBl8h/d14k7T pEnnEF7IrrSLE7s45KtdQK+uPGtM7a3ZARXiJrDRvbdcMcsqZMUigUab9UJewEB/yriZRG QwKRGmFEOabgqHTVcCtJZjIlN1hpC3Y= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 01E0B64ED6; Thu, 18 May 2023 11:48:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13E0DC433A8; Thu, 18 May 2023 11:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684410482; bh=8+fZEJKQ9cO5SVgMB2qO1XAAD7U35g4jCUBGVnN6KkQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RkTLJNDNnDv/jhHbXE2CP7WNHaiIixKzHFGzRqROTOa7iwgnTbvZWcLXdq3poORnn n50CgeB7/YwrwJUEkbCk8zVTU6JrO23Skvl7vBQUU2AFFm5HVvnXyXmho4MVsJyUL1 zWUSudVSr+81Xd7URP6fUQdeaGhd5Rmo2fkitrKbKPLuHcGPMCedmpejICiuN2jJNh WvLJupsKyQTDsjHfhlZeHpV4uwY1nBiaRaKYhtAatsab0HiBd3H3hIzA8H3v9rrWK9 3h2/VjlzDkEWTsiuE9zwNF9BrKCBW1wFNuYsi0NQhb4vckXzyLfJSTAhxoQSRNQEZd OZtbDt/5GXBgQ== From: Jeff Layton To: Alexander Viro , Christian Brauner , "Darrick J. Wong" , Hugh Dickins , Andrew Morton , Dave Chinner , Chuck Lever Cc: Jan Kara , Amir Goldstein , David Howells , Neil Brown , Matthew Wilcox , Andreas Dilger , Theodore T'so , Chris Mason , Josef Bacik , David Sterba , Namjae Jeon , Steve French , Sergey Senozhatsky , Tom Talpey , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-mm@kvack.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org Subject: [PATCH v4 6/9] tmpfs: add support for multigrain timestamps Date: Thu, 18 May 2023 07:47:39 -0400 Message-Id: <20230518114742.128950-7-jlayton@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230518114742.128950-1-jlayton@kernel.org> References: <20230518114742.128950-1-jlayton@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: arp44qg945mhb1xcsz4mw1dqqy9xu1tf X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: CB203160014 X-HE-Tag: 1684410483-754918 X-HE-Meta: U2FsdGVkX1+uO8VFrDB9RWph9naqYB8DH+RdCSG0r/BULWf6IiUQWbn4bH4i+HRTAZ1NFqW/KPHNrSd+FOs7M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bUYIhITPw6D3CpMqAfwoFfQrIfV4+JqBtldAiOD3/yY1PSKCiKBqIgOeJJpK+A/Od7tSdC0US9i/Zi3b+VO0RN3/+UKkspAha+rCh99rc31lrTW1lqX1rQM6lXv5UDu1N/TkSvD4U6/69FicDZ7IGve4o4kspElOU/1guVW2EAYxP3YUyQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Signed-off-by: Jeff Layton --- mm/shmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/shmem.c b/mm/shmem.c index 8208d4f85dff..94ea3086eacc 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -4085,7 +4085,7 @@ static struct file_system_type shmem_fs_type = { #endif .kill_sb = kill_litter_super, #ifdef CONFIG_SHMEM - .fs_flags = FS_USERNS_MOUNT | FS_ALLOW_IDMAP, + .fs_flags = FS_USERNS_MOUNT | FS_ALLOW_IDMAP | FS_MULTIGRAIN_TS, #else .fs_flags = FS_USERNS_MOUNT, #endif