From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] Bug in ocfs_file_entry struct for 2.6
Date: Fri Mar 19 20:10:12 2004 [thread overview]
Message-ID: <20040320021006.GW18020@ca-server1.us.oracle.com> (raw)
In-Reply-To: <20040319235852.GA22829@ca-server1.us.oracle.com>
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@oracle.com
Phone: (650) 506-8127
prev parent reply other threads:[~2004-03-19 20:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-19 17:15 [Ocfs2-devel] Bug in ocfs_file_entry struct for 2.6 Villalovos, John L
2004-03-19 17:59 ` Mark Fasheh
2004-03-19 20:10 ` Joel Becker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040320021006.GW18020@ca-server1.us.oracle.com \
--to=joel.becker@oracle.com \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.