[Ocfs2-devel] Bug in ocfs_file_entry struct for 2.6
    Joel Becker 
    Joel.Becker at oracle.com
       
    Fri Mar 19 18:10:06 CST 2004
    
    
  
On Fri, Mar 19, 2004 at 03:58:52PM -0800, Mark Fasheh wrote:
> > I noticed that it defines:
> > 
> >     __u16 dev_major;                  // NUMBER RANGE(0,65535)
> >     __u16 dev_minor;                  // NUMBER RANGE(0,65535)
	The write answer is to make it __u32 rdev, and then use the
proper MAJOR/MINOR/major/minor/to_kdev_t routines on it.  This is what
all other filesystems do.
Joel
-- 
Life's Little Instruction Book #15
	"Own a great stereo system."
Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
    
    
More information about the Ocfs2-devel
mailing list