public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Loschwitz <madkiss@madkiss.org>
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com
Subject: [PATCH] make check.c compile in 2.5.38 with DevFS
Date: Sun, 22 Sep 2002 18:26:38 +0200	[thread overview]
Message-ID: <20020922162638.GA404@minerva.local.lan> (raw)

The following patch was necessary for me to get fs/partitions/check.c
compiling with DevFS.

diff -ruN linux-2.5.38/fs/partitions/check.c linux-2.5.38-new/fs/partitions/check.c
--- linux-2.5.38/fs/partitions/check.c  2002-09-22 06:25:06.000000000 +0200
+++ linux-2.5.38-new/fs/partitions/check.c      2002-09-22 17:43:58.000000000 +0200
@@ -362,7 +362,7 @@
                pos = devfs_generate_path(dev->disk_de, rname+3, sizeof(rname)-3);
                if (pos >= 0) {
                        strncpy(rname + pos, "../", 3);
-                       devfs_mk_symlink(devfs_handle, vname,
+                       devfs_mk_symlink(cdroms, vname,
                                         DEVFS_FL_DEFAULT,
                                         rname + pos, &slave, NULL);
                        devfs_auto_unregister(dev->de, slave);

-- 
  .''`.   Name: Martin Loschwitz
 : :'  :  E-Mail: madkiss@madkiss.org
 `. `'`   www: http://www.madkiss.org/ 
   `-     Use Debian GNU/Linux - http://www.debian.org    

                 reply	other threads:[~2002-09-22 16:21 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=20020922162638.GA404@minerva.local.lan \
    --to=madkiss@madkiss.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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