The following minimal patch fixes bug #52. For some reason we were always setting the inode->i_rdev to the super block's dev while populating the inode. --rusty Index: src/inode.c ==================================================================--- src/inode.c (revision 813) +++ src/inode.c (working copy) @@ -260,7 +260,7 @@ goto bail; } - OCFS_SET_INODE_DEV(sb, inode); + inode->i_rdev = MKDEV (fe->dev_major, fe->dev_minor); inode->i_mode = mode; inode->i_uid = fe->uid; inode->i_gid = fe->gid;
On Fri, Mar 26, 2004 at 09:16:51PM -0800, Rusty Lynch wrote:> The following minimal patch fixes bug #52. For some reason we were > always setting the inode->i_rdev to the super block's dev while > populating the inode.Ok, I like this approach better than my original one. It also means that OCFS_SET_INODE_DEV isn't used anymore so I'll take that out too. --Mark -- Mark Fasheh Software Developer, Oracle Corp mark.fasheh@oracle.com