- kinit-convert--in-block-device-names-to-not.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     kinit: convert '/' in block device names to '!', not '.'

has been removed from the -mm tree.  Its filename is

     kinit-convert--in-block-device-names-to-not.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: kinit: convert '/' in block device names to '!', not '.'
From: Bjorn Helgaas <bjorn.helgaas@xxxxxx>


register_disk() converts the first slash in a disk name to "!", so a block
device like /dev/cciss/c0d0 shows up in /sys as /sys/block/cciss!c0d0.

kinit must use the same conversion in order for "root=/dev/cciss/c0d0p1"
to find the device.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 usr/kinit/name_to_dev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN usr/kinit/name_to_dev.c~kinit-convert--in-block-device-names-to-not usr/kinit/name_to_dev.c
--- devel/usr/kinit/name_to_dev.c~kinit-convert--in-block-device-names-to-not	2006-06-06 21:59:21.000000000 -0700
+++ devel-akpm/usr/kinit/name_to_dev.c	2006-06-06 21:59:21.000000000 -0700
@@ -154,7 +154,7 @@ static inline dev_t name_to_dev_t_real(c
 
 	for (p = s; *p; p++)
 		if (*p == '/')
-			*p = '.';
+			*p = '!';
 	res = try_name(s, 0);
 	if (res)
 		return res;
_

Patches currently in -mm which might be from bjorn.helgaas@xxxxxx are

git-acpi.patch
acpi-update-asus_acpi-driver-registration-fix.patch
acpi-remove-__init-__exit-from-sony-add-remove-methods.patch
git-ia64.patch
git-klibc.patch
e100-disable-interrupts-at-boot.patch
vgacon-make-vga_map_mem-take-size-remove-extra-use.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux