UFS build fix
PATCH 1/1 UFS build fix
Hi Linus,
Trivial patch (against 2.6-test5) to fix the build for the UFS file
system.
Please apply.
Cheers,
Felipe
fs/ufs/namei.c +3 -1
@@ -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 */