Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp1388405pxy; Sun, 15 Aug 2021 19:49:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUZvQHQb3qcAMJnnwz9e2zf06MIG/oFNjH/XevCz2e4gP08mZ9rI4GhUZ/bzmItQLEU/6e X-Received: by 2002:a05:6638:265:: with SMTP id x5mr7427319jaq.23.1629082160542; Sun, 15 Aug 2021 19:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629082160; cv=none; d=google.com; s=arc-20160816; b=UrJKne8LR7nKhfetthF6DNF7fqiDXpMJP27hef7Gt13NhGM0twpsrW4+aTZVq4qTBx dEo/2yVEMxSLRXS7y5Ab1m7tRN0RU0NiJ+huMHH5aY7DNbXBH5bkFRrAQEX0xNHu171s gczf2IhCYNgMuLF9Sz6v5G2Dcyr2XoDI1oCYq47mcEbLvLn0vK0Mm8wn764baQmqxZU4 15D1y7uPiI4ezpO36OsFQxZuBp4Dwl2FttyN8po+UAYRz06a5IYyH7k+VLyagr8tQvoM vxIPmkHjov6pWG0XcigdUO0ax+kx5eFSoNgQ2HI+5BDPHVmYPlTD2MzyYNUByknTMJbH Wt8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LhP4KmjamUZIjdoWUccaTN8Y5WL2GFHtIS6CXRcaByM=; b=kECfuHxbQjkfVXKxTJ8ksH37UC11muQOPbx3QiqIXBWEjglBdgsDPrWtGRaJX5/NuE 3QC/W0vPOnc9FOPEz7h5wj6JJVzJ8iE/PCrhzTSkYdXWLK6YSTcXmli6/CuVg79QmBDu 0BP7Z84ppPaIyy8IEF8QKZ7XbhTLuSfcGv7U/AG8hvltKw+PYJBQnsluHocP22qLOv/v qB8SjLkf6lbl01McBPK6ZkuHffqfbEiz4VLdVamYxVVobRWg40VWK0TSo7fU4CNO6a5C +wrRpqTRMRkSWlvW5q8vDhxlbjLbh+nJRowvnI0M64bUp7rKTHdnGKi3jW971Li7PerI O3Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D5OsEetl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si9775770ior.24.2021.08.15.19.49.09; Sun, 15 Aug 2021 19:49:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D5OsEetl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232594AbhHPCs6 (ORCPT + 99 others); Sun, 15 Aug 2021 22:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232049AbhHPCsz (ORCPT ); Sun, 15 Aug 2021 22:48:55 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3D7AC0617AD; Sun, 15 Aug 2021 19:48:24 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id x27so31570745lfu.5; Sun, 15 Aug 2021 19:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LhP4KmjamUZIjdoWUccaTN8Y5WL2GFHtIS6CXRcaByM=; b=D5OsEetl087LrLfFgvMcE2fOoHuq2cMGpqaOgXJnPEGIZKBLeax5735V9djMGXqbPv zMVdPsSsotN91V/LIw7pHlDjzeqaVcWqoWyFxYUYqxf/cYP2bEqwkmb1j8eYz8+kx2aD J5R1i0NzR57RAW56L1nw0GN3Y99lKraAd1eaw99YuShp9psnajE9d1woQuVsHi7Kx20g ucCHd4lAuhs5kl3Tv/1pJF+e2WIADoigazvK09JY1nw5BnM8GaSLa3rKMjJ2CiEK7i9J ppekNTF3iEEkY8/Vol4F/qmsdz6SHrBC483rGMeaQPZZlMFLwyUEED99di2XPKUf63jx QVAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LhP4KmjamUZIjdoWUccaTN8Y5WL2GFHtIS6CXRcaByM=; b=sLcpwsccch9YnPqFU4r0WPv4X3iCADwvflAHppKLEOj8tlYrbpS32usiHTSgzOCJl5 FsGlfr5qclSXDW7LMuhH42Lnzw/NuMvzXUHC8poLsov6JF0B7GcgaoGjucecsKC6tuUG 9QEhX2c9NuXpWu/WRuEIvsArjSboUbIE54IcHNdOkWMOMqXAU3yMMSRERLiwpVUf1VXo sPv7Dqo7LfmqZeG6jB0suKRVomhqO+CK1xKw5nqVImPBxXdFub+YAj7x2TU36i5iuxIh WiTotqS3IlGNCnKce/EdiJhUtkmWBfX2q5WPSWuMwu+x4QNXUsJaCZt3joOOfv5WjCzi UIlg== X-Gm-Message-State: AOAM530TCNyVIqRSf/95vKNHEnwDw0hMMNnj0SPIt++e/gUu630qjKq4 Z+vDudRjvnL+aaDp83pbRV8= X-Received: by 2002:a05:6512:b9e:: with SMTP id b30mr4273793lfv.428.1629082103262; Sun, 15 Aug 2021 19:48:23 -0700 (PDT) Received: from kari-VirtualBox.telewell.oy (85-23-89-224.bb.dnainternet.fi. [85.23.89.224]) by smtp.gmail.com with ESMTPSA id b12sm425392lfs.152.2021.08.15.19.48.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 19:48:22 -0700 (PDT) From: Kari Argillander To: Konstantin Komarov , Christoph Hellwig Cc: Kari Argillander , ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= , Matthew Wilcox Subject: [RFC PATCH 2/4] fs/ntfs3: Remove unnecesarry mount option noatime Date: Mon, 16 Aug 2021 05:47:01 +0300 Message-Id: <20210816024703.107251-3-kari.argillander@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210816024703.107251-1-kari.argillander@gmail.com> References: <20210816024703.107251-1-kari.argillander@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unnecesarry mount option noatime because this will be handled by VFS. Our function ntfs_parse_param will never get opt like this. Signed-off-by: Kari Argillander --- Documentation/filesystems/ntfs3.rst | 4 ---- fs/ntfs3/super.c | 7 ------- 2 files changed, 11 deletions(-) diff --git a/Documentation/filesystems/ntfs3.rst b/Documentation/filesystems/ntfs3.rst index ffe9ea0c1499..af7158de6fde 100644 --- a/Documentation/filesystems/ntfs3.rst +++ b/Documentation/filesystems/ntfs3.rst @@ -85,10 +85,6 @@ acl Support POSIX ACLs (Access Control Lists). Effective if supported by Kernel. Not to be confused with NTFS ACLs. The option specified as acl enables support for POSIX ACLs. -noatime All files and directories will not update their last access - time attribute if a partition is mounted with this parameter. - This option can speed up file system operation. - =============================================================================== ToDo list diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index d805e0b31404..e4e2bd0ebfe6 100644 --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -240,7 +240,6 @@ enum Opt { Opt_nohidden, Opt_showmeta, Opt_acl, - Opt_noatime, Opt_nls, Opt_prealloc, Opt_no_acs_rules, @@ -260,7 +259,6 @@ static const struct fs_parameter_spec ntfs_fs_parameters[] = { fsparam_flag_no("sparse", Opt_sparse), fsparam_flag("nohidden", Opt_nohidden), fsparam_flag_no("acl", Opt_acl), - fsparam_flag("noatime", Opt_noatime), fsparam_flag_no("showmeta", Opt_showmeta), fsparam_string("nls", Opt_nls), fsparam_flag_no("prealloc", Opt_prealloc), @@ -341,9 +339,6 @@ static int ntfs_fs_parse_param(struct fs_context *fc, struct fs_parameter *param else fc->sb_flags &= ~SB_POSIXACL; break; - case Opt_noatime: - fc->sb_flags |= SB_NOATIME; - break; case Opt_showmeta: opts->showmeta = result.negated ? 0 : 1; break; @@ -555,8 +550,6 @@ static int ntfs_show_options(struct seq_file *m, struct dentry *root) seq_puts(m, ",prealloc"); if (sb->s_flags & SB_POSIXACL) seq_puts(m, ",acl"); - if (sb->s_flags & SB_NOATIME) - seq_puts(m, ",noatime"); return 0; } -- 2.25.1