Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2615064pxu; Mon, 7 Dec 2020 10:51:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUAYIg7OFCKV8PAHM9dYfBXJqsv3p35BQeu6jhQt6JhVI1EVF3bwQqSk3JwEGv4AVFnAum X-Received: by 2002:a17:906:391b:: with SMTP id f27mr19519628eje.195.1607367113852; Mon, 07 Dec 2020 10:51:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607367113; cv=none; d=google.com; s=arc-20160816; b=VrHaVst68YhApKJuZDZU9aa1kU15WvXrrlEGV+IT99RDsOvJjAugUCrcRQym4uPic7 M6niCcDHBKPSlAWyy2zw34eOCE9GTVRZs4vfNhAXjbckIl1AihP2Z4yDT746bXZ5KdJi cFTYpgW4iU5BYmEB0IWbCQ1m/BSnxOy/i0anNPnPMFhwxrqYmFBBeFtmZs+4yzZJ60SA WiV4H8q0nTydSBKvBNTrXb5eyywpLcHO2jrQpMLXqe4qgnUKDUZoL55pH6bskVGzs7e0 TjQPZjG9xwt2knFX7BfxBQXmispFefxo3A7SdM7hw38bM8eHws101cVH9jXIPaOGPRte PRwg== 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:to:from :dkim-signature; bh=fGb//aWaDozXNHBiMFB8NfP+v8ZlSJ4ahg8Af9n5T+Y=; b=mgN1u7EUq4ZvCQf/UqdNVgec4JExk41TICvidL4Q9Z14txt3D/jZFTsQRYXjByhffx S+EM8voCHYa+MAGnAS9Fvv4qXlgd+pPKoJXlO9yqWFKncQQyCy9OpDAT38EimM2JFDCz ssjBC7TSnCBzxPqcO+1njZqoob0j5Ar5pU5lY3CNJacTwVJviH6ElN+H+iOGeR95DgIT wx9guaYsDOqjxMgLt4xHKkNt5x83eiZyRpSQ8zNFqoqXARw3ohXHjDF/X3RbNZRbiTnw kgBG79Hv0teYM+4fcaJikwzmUypLacHrAzio1KR4xpIWZEthJkQsIObQq+x2uzgwR+Fc QncA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=kq6cLgVz; 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=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c23si1092110edv.521.2020.12.07.10.51.28; Mon, 07 Dec 2020 10:51:53 -0800 (PST) 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=@yahoo.ca header.s=s2048 header.b=kq6cLgVz; 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=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726122AbgLGSuD (ORCPT + 99 others); Mon, 7 Dec 2020 13:50:03 -0500 Received: from sonic307-55.consmr.mail.gq1.yahoo.com ([98.137.64.31]:42830 "EHLO sonic307-55.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbgLGSuD (ORCPT ); Mon, 7 Dec 2020 13:50:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1607366927; bh=fGb//aWaDozXNHBiMFB8NfP+v8ZlSJ4ahg8Af9n5T+Y=; h=From:To:Subject:Date:In-Reply-To:References:From:Subject; b=kq6cLgVzFt0zzkKeH+quArpl1JpGx66LEFjGjPVZVVzvSheBqPaRXXJXGaomDj+MPdrH9QlgsaXP+sJ1NMc863+fCLbJ+oGcBuZGNB5sIp5wB/fo1ybXUh1JaqF36BtkfHJaW4OUwgjG+JVsOHOfD5DTVXMK02nMaLGMyoljiqhtjrSzJ3s5SEDbyZjZUp2GP1zg3gOq72E6+Tythko0B8ZiJid0esKriRbAnRbHsmuTqmfgOWww8sUWc3mmLb7NcF+eehk86gC2uqU+qZogIgjStj4O3xus06rrh/JcPcc3Ot5qBmA27CC5ccNETEw+jsmPzpFudqvpqOW5pTTVDQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1607366927; bh=rDUJRrOTryfosZfjk+F8MzAJi/f/SqJvhQN2h8KGmmW=; h=From:To:Subject:Date:From:Subject; b=Ei7FMw8GBbiz+i1wzB6hFvEC9tqIIFtrjgwYbgFJrWuONAIzIHVEubyiKviV51D4KxQwkve+Uhy+iDJYjTtPAhaNbwSGycAuxYvoYdYsx7qj/PILceFCm3sKkyK+4MwJld+vTZBAUyoKDQHjDpgHgW4bp+N7A0VG/4Pjlc5YLD2aFEXeWoiuQPI9bc217KHoHVYwEjaWjNRC2zOc7xteFp6mXvXsgVJL40YlW3CCN/4AxKuOVZjXowZ9lVQaiwpd/2rS0ig8aYGxkrt1kbmz2fNrjQCBNxmbQB6jyvyrEsHTrmacqZ6hwNxUe0xBvMvUyTtUqMYcKu2fplaT304cjg== X-YMail-OSG: 8J692doVM1kADPq4GTASYF5zxCmoyKBKLGi53uJ1YsJ261QEa_363XID6t7FGc4 2gcMhaALio3ovvZ2k9LOQ1R8eXB16Js0O3R8sqeCsHE7wZPFVgjOj0qgYQ1NseO0EWpk1VK2HZjb zKv5StXwourjXox__DbqFUkYb77DKUpIrROc602AcEnkdLZsXNTeJiXKRgQUXx3CmhKWkU93eIg4 CVjVTKmCMHzp0Mfwvh2cmvFByP0W8ZujwYk8SjTcDXGuNfWtewDkVHhAEwNO85nsFBg_vZ.Xq6KG s6lnXDTIAXcPKlTYPZxmWLh4IdgjttLdgwm4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V7WdAeKHt62 XVqtwnX4GmzzF3MmIQXrAlEqugwrKknFTkaAvd1XxK1NLnMAWTQzpkoeTQAT.YdWGrx1ZTSM4zPY w_wM3WAaQZjADxGoE9ES1TFB9mIyXEegOWQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Mon, 7 Dec 2020 18:48:47 +0000 Received: by smtp421.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 15c1ba362414b2e2a9fcee793f9069fb; Mon, 07 Dec 2020 18:48:43 +0000 (UTC) From: "Alex Xu (Hello71)" To: "Alex Xu (Hello71)" , Dominik Brodowski , Song Liu , "Theodore Ts'o" , Jens Axboe , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] init: remove special-case for mtd/ubi Date: Mon, 7 Dec 2020 13:48:34 -0500 Message-Id: <20201207184835.63538-2-alex_y_xu@yahoo.ca> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201207184835.63538-1-alex_y_xu@yahoo.ca> References: <20201207184835.63538-1-alex_y_xu@yahoo.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Length: 755 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This should be handled by the fallback after trying to resolve it. Signed-off-by: Alex Xu (Hello71) --- init/do_mounts.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index 8aa38ec0bfec..a2a273b9866f 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -603,11 +603,6 @@ void __init prepare_namespace(void) if (saved_root_name[0]) { root_device_name = saved_root_name; - if (!strncmp(root_device_name, "mtd", 3) || - !strncmp(root_device_name, "ubi", 3)) { - mount_block_root(root_device_name, root_mountflags); - goto out; - } ROOT_DEV = name_to_dev_t(root_device_name); if (strncmp(root_device_name, "/dev/", 5) == 0) root_device_name += 5; -- 2.29.2