* [PATCH] UFS build fix
@ 2003-09-09 19:14 Felipe W Damasio
0 siblings, 0 replies; only message in thread
From: Felipe W Damasio @ 2003-09-09 19:14 UTC (permalink / raw)
To: torvalds; +Cc: Linux Kernel Mailing List
[-- 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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-09 20:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 19:14 [PATCH] UFS build fix Felipe W Damasio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).