From: Matt Mackall <mpm@selenic.com>
To: Andrew Morton <akpm@osdl.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix CONFIG_SYSFS=n compile warning
Date: Thu, 22 Apr 2004 10:10:13 -0500 [thread overview]
Message-ID: <20040422151010.GK28459@waste.org> (raw)
>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
reply other threads:[~2004-04-22 15:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040422151010.GK28459@waste.org \
--to=mpm@selenic.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox