Messages in this thread Patch in this message | | | Date | Thu, 22 Apr 2004 10:10:13 -0500 | From | Matt Mackall <> | Subject | [PATCH] fix CONFIG_SYSFS=n compile warning |
| |
From -tiny
Index: tiny/init/do_mounts.c =================================================================== --- tiny.orig/init/do_mounts.c 2004-04-21 12:49:23.000000000 -0500 +++ tiny/init/do_mounts.c 2004-04-22 10:07:45.000000000 -0500 @@ -194,9 +194,11 @@ p[-1] = '\0'; res = try_name(s, part); done: +#ifdef CONFIG_SYSFS sys_umount("/sys", 0); out: sys_rmdir("/sys"); +#endif return res; fail: res = 0;
-- Matt Mackall : http://www.selenic.com : Linux development and consulting - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |