From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 60C78138CDC for ; Sat, 20 Jun 2015 17:37:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0881DE07A3; Sat, 20 Jun 2015 17:37:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1714E07A3 for ; Sat, 20 Jun 2015 17:37:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA17C340C40 for ; Sat, 20 Jun 2015 17:37:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C2A39EE for ; Sat, 20 Jun 2015 17:37:46 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1434821853.d02e0e858201a0d8f313e24e2a9e288186007ea4.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:4.1 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 2900_dev-root-proc-mount-fix.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: d02e0e858201a0d8f313e24e2a9e288186007ea4 X-VCS-Branch: 4.1 Date: Sat, 20 Jun 2015 17:37:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 19ffb617-64e2-45a7-bdc1-7e7e3fb7664d X-Archives-Hash: 980ad13a12bc016d7761ca9d1f2a4db9 commit: d02e0e858201a0d8f313e24e2a9e288186007ea4 Author: Mike Pagano gentoo org> AuthorDate: Sat Jun 20 17:37:33 2015 +0000 Commit: Mike Pagano gentoo org> CommitDate: Sat Jun 20 17:37:33 2015 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=d02e0e85 Add check to saved_root_name for supported filesystem path naming. 2900_dev-root-proc-mount-fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2900_dev-root-proc-mount-fix.patch b/2900_dev-root-proc-mount-fix.patch index 6ea86e2..4cd558e 100644 --- a/2900_dev-root-proc-mount-fix.patch +++ b/2900_dev-root-proc-mount-fix.patch @@ -18,7 +18,7 @@ #ifdef CONFIG_BLOCK - create_dev("/dev/root", ROOT_DEV); - mount_block_root("/dev/root", root_mountflags); -+ if (saved_root_name[0]) { ++ if (saved_root_name[0] == '/') { + create_dev(saved_root_name, ROOT_DEV); + mount_block_root(saved_root_name, root_mountflags); + } else {