Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp246587ybt; Fri, 19 Jun 2020 00:34:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvonh9ue1lZ8HenDb1146KJHKSyM6UpPLEgpWE+Y5ugnpyDG3zwDHl5th3NNETuz6ipWu/ X-Received: by 2002:aa7:d952:: with SMTP id l18mr1914641eds.151.1592552063636; Fri, 19 Jun 2020 00:34:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592552063; cv=pass; d=google.com; s=arc-20160816; b=E+RVieh+XKMMB8ruUXTyzhHXvLVviqiZNe5IOusPEvl8r6oeWvm1UV6hWeuj3GPc61 Fl4VZ+Sk4lKWvKnMcm4awgcYMSvemORQt3cI/Ch0aLQ5Bp8HuEHPHnwVvsmFhYZKjgaE v+ZSON6HwELmDq+ExxJ90TzskNqXyaEA8ATuU5GnxMy7xYdCgsizOlDFWTLIZyQQjU69 vI7MoaFk9K3rgUhSrCFSlHDUAcffyYLZ+h5Y4NILXeUbfk9SK3vAV/WM1rQlIMBcdots OPspezm9uCXZqqQ4v206gjiv9Wi/SeDg2qth1wqbDVdyDM5jCTXI6/JaUZTKZ4edYvSo cTgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :date:subject:message-id:cc:to:from:dkim-signature; bh=jEfLXFDKGfBQH3Xvttk1mKgp1xzscpj0Mis0Q37GyHo=; b=qVV3oo46O3+FxIBCZoDlBNnh/3d+/+pCg48kTdMdlrt4sQ40Da4VMigZ0MvTNdSDh7 SSn4HW0hmPiSFGEXZSc+SOsN4X9v0HPms8TJpuHDNMUkSkaN7SFjIiZ28WinbLAXMyyU zgw9ssMgO9X06V2h1QULoZA5HX0qAXQOR4YnIINNw/z1aVyufS8tT2ymyLhhALXubu3o 4xaA2BEap7enUArIbhCbMGKDY7aI9Tf+cmCjlAhFbOISWz85t84ksSq6aYMHpHLOSHSR XYE15ccGELAWTNXZmyV95ehWvwPBZ6GmeEU+sZDQd6DcuUr5lpJbK2WXalHXf/0KPSkx RJdQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mykernel.net header.s=zohomail header.b="Sts9/wLO"; arc=pass (i=1 spf=pass spfdomain=mykernel.net dkim=pass dkdomain=mykernel.net dmarc=pass fromdomain=mykernel.net>); spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i21si3363254edv.162.2020.06.19.00.33.44; Fri, 19 Jun 2020 00:34:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@mykernel.net header.s=zohomail header.b="Sts9/wLO"; arc=pass (i=1 spf=pass spfdomain=mykernel.net dkim=pass dkdomain=mykernel.net dmarc=pass fromdomain=mykernel.net>); spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730163AbgFSHbz (ORCPT + 99 others); Fri, 19 Jun 2020 03:31:55 -0400 Received: from sender2-op-o12.zoho.com.cn ([163.53.93.243]:17120 "EHLO sender2-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729740AbgFSHby (ORCPT ); Fri, 19 Jun 2020 03:31:54 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1592551910; cv=none; d=zoho.com.cn; s=zohoarc; b=nf+zMZcqVESPKOpyQEgib7tOvI3fFyNeyUDKiZvt8baYNoMg61mOCkISex1Hh/yCcsNs9VHyqqqrHJpMGWtXRxiO937KQ5baUNHbhFgizMP1vKGtTUuJPd4havcDAkEXQ+lrYw3PT5Y8Rdgj4I9OYVPPf+OcSGwoy5DYRLTFqak= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com.cn; s=zohoarc; t=1592551910; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=jEfLXFDKGfBQH3Xvttk1mKgp1xzscpj0Mis0Q37GyHo=; b=XTDy1Zw31bizbDeX+4k17bZINFMuLNPvIjdpe0H4hhMag2cZupWV9ZD251kyfkPwm3e++owFmu9g0Peeu7eNa4a/vtKJ8VwmwU2NV4Uoe/+q6LFuVxVXm8W2S3aWIwoAUPX3npGxY2/Z0a5X7S+2XGa6nctflcV7vo/rd8IWyUk= ARC-Authentication-Results: i=1; mx.zoho.com.cn; dkim=pass header.i=mykernel.net; spf=pass smtp.mailfrom=cgxu519@mykernel.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1592551910; s=zohomail; d=mykernel.net; i=cgxu519@mykernel.net; h=From:To:Cc:Message-ID:Subject:Date:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=jEfLXFDKGfBQH3Xvttk1mKgp1xzscpj0Mis0Q37GyHo=; b=Sts9/wLOOt7sk6CEFvYl3lpqhuJxYNQKM7MmvYcqbQ2gQw1lSX3YuDjWbtwzuSeR TxAW7CzoFmlcILSyMSzfPQE8U/IEfJeNSmmdAqFBu4Rl/0hgSeZFP45f/RpLi0Q4F4N awY+z4Dp8XCC7s7tNGBuOaSL7zf6LihAOIKU6ir4= Received: from localhost.localdomain (218.18.229.179 [218.18.229.179]) by mx.zoho.com.cn with SMTPS id 1592551908507269.5307956657608; Fri, 19 Jun 2020 15:31:48 +0800 (CST) From: Chengguang Xu To: jack@suse.com Cc: linux-ext4@vger.kernel.org, Chengguang Xu Message-ID: <20200619073144.4701-1-cgxu519@mykernel.net> Subject: [PATCH] ext2: remove nocheck option Date: Fri, 19 Jun 2020 15:31:44 +0800 X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoCNMailClient: External Content-Type: text/plain; charset=utf8 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Remove useless nocheck option. Signed-off-by: Chengguang Xu --- fs/ext2/ext2.h | 1 - fs/ext2/super.c | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/fs/ext2/ext2.h b/fs/ext2/ext2.h index 8178bd38a9d6..c7ed9a57791e 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h @@ -374,7 +374,6 @@ struct ext2_inode { /* * Mount flags */ -#define EXT2_MOUNT_CHECK=09=090x000001 /* Do mount-time checks */ #define EXT2_MOUNT_OLDALLOC=09=090x000002 /* Don't use the new Orlov allo= cator */ #define EXT2_MOUNT_GRPID=09=090x000004 /* Create files with directory's g= roup */ #define EXT2_MOUNT_DEBUG=09=090x000008 /* Some debugging messages */ diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 4a4ab683250d..dda860562ca3 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -431,7 +431,7 @@ static unsigned long get_sb_block(void **data) enum { =09Opt_bsd_df, Opt_minix_df, Opt_grpid, Opt_nogrpid, =09Opt_resgid, Opt_resuid, Opt_sb, Opt_err_cont, Opt_err_panic, -=09Opt_err_ro, Opt_nouid32, Opt_nocheck, Opt_debug, +=09Opt_err_ro, Opt_nouid32, Opt_debug, =09Opt_oldalloc, Opt_orlov, Opt_nobh, Opt_user_xattr, Opt_nouser_xattr, =09Opt_acl, Opt_noacl, Opt_xip, Opt_dax, Opt_ignore, Opt_err, Opt_quota, =09Opt_usrquota, Opt_grpquota, Opt_reservation, Opt_noreservation @@ -451,8 +451,6 @@ static const match_table_t tokens =3D { =09{Opt_err_panic, "errors=3Dpanic"}, =09{Opt_err_ro, "errors=3Dremount-ro"}, =09{Opt_nouid32, "nouid32"}, -=09{Opt_nocheck, "check=3Dnone"}, -=09{Opt_nocheck, "nocheck"}, =09{Opt_debug, "debug"}, =09{Opt_oldalloc, "oldalloc"}, =09{Opt_orlov, "orlov"}, @@ -546,12 +544,6 @@ static int parse_options(char *options, struct super_b= lock *sb, =09=09case Opt_nouid32: =09=09=09set_opt (opts->s_mount_opt, NO_UID32); =09=09=09break; -=09=09case Opt_nocheck: -=09=09=09ext2_msg(sb, KERN_WARNING, -=09=09=09=09"Option nocheck/check=3Dnone is deprecated and" -=09=09=09=09" will be removed in June 2020."); -=09=09=09clear_opt (opts->s_mount_opt, CHECK); -=09=09=09break; =09=09case Opt_debug: =09=09=09set_opt (opts->s_mount_opt, DEBUG); =09=09=09break; --=20 2.20.1