lkml.org 
[lkml]   [2003]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] UFS build fix
	Hi Linus,

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

Please apply.

Cheers,

Felipe
--- 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 */
\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.026 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site