<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Chris Mason &lt;mason@suse.com&gt;

From: jeffm@suse.com

properly init device inodes in the acl code


---

 25-akpm/fs/reiserfs/namei.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/reiserfs/namei.c~reiserfs-acl-mknod fs/reiserfs/namei.c
--- 25/fs/reiserfs/namei.c~reiserfs-acl-mknod	Fri Apr 23 14:36:42 2004
+++ 25-akpm/fs/reiserfs/namei.c	Fri Apr 23 14:36:42 2004
@@ -630,7 +630,7 @@ static int reiserfs_mknod (struct inode 
         goto out_failed;
     }
 
-    init_special_inode(inode, mode, rdev) ;
+    init_special_inode(inode, inode-&gt;i_mode, rdev) ;
 
     //FIXME: needed for block and char devices only
     reiserfs_update_sd (&amp;th, inode);

_
</pre></body></html>