public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe W Damasio <felipewd@terra.com.br>
To: torvalds@osdl.org
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] UFS build fix
Date: Tue, 09 Sep 2003 16:14:25 -0300	[thread overview]
Message-ID: <3F5E2691.2070600@terra.com.br> (raw)

[-- Attachment #1: Type: text/plain, Size: 124 bytes --]

	Hi Linus,

	Trivial patch (against 2.6-test5) to fix the build for the UFS file 
system.

	Please apply.

	Cheers,

Felipe

[-- Attachment #2: ufs-build.patch --]
[-- Type: text/plain, Size: 528 bytes --]

--- linux-2.6.0-test5/fs/ufs/namei.c	Mon Sep  8 16:50:57 2003
+++ linux-2.6.0-test5-fwd/fs/ufs/namei.c	Tue Sep  9 16:11:06 2003
@@ -113,10 +113,12 @@
 static int ufs_mknod (struct inode * dir, struct dentry *dentry, int mode, dev_t rdev)
 {
 	struct inode * inode;
+	int err;
+
 	if (!old_valid_dev(rdev))
 		return -EINVAL;
 	inode = ufs_new_inode(dir, mode);
-	int err = PTR_ERR(inode);
+	err = PTR_ERR(inode);
 	if (!IS_ERR(inode)) {
 		init_special_inode(inode, mode, rdev);
 		/* NOTE: that'll go when we get wide dev_t */

                 reply	other threads:[~2003-09-09 20:45 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=3F5E2691.2070600@terra.com.br \
    --to=felipewd@terra.com.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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