lkml.org 
[lkml]   [2004]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2011 Jasper Spaans