From: Colin Watson <cjwatson@ubuntu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Agostino Russo <agostino.russo@gmail.com>
Subject: Re: [PATCH] 64-bit file sizes in NTFS
Date: Thu, 10 Sep 2009 20:24:44 +0100 [thread overview]
Message-ID: <20090910192444.GC13423@riva.ucam.org> (raw)
In-Reply-To: <20090910191754.GD18736@thorin>
On Thu, Sep 10, 2009 at 09:17:54PM +0200, Robert Millan wrote:
> On Thu, Sep 10, 2009 at 05:39:14PM +0100, Colin Watson wrote:
> > Index: include/grub/ntfs.h
> > ===================================================================
> > --- include/grub/ntfs.h (revision 2584)
> > +++ include/grub/ntfs.h (working copy)
> > @@ -133,7 +133,7 @@ struct grub_fshelp_node
> > {
> > struct grub_ntfs_data *data;
> > char *buf;
> > - grub_uint32_t size;
> > + grub_uint64_t size;
> > grub_uint32_t ino;
> > int inode_read;
> > struct grub_ntfs_attr attr;
>
> Would this change offsets in subsequent struct fields? (I notice it's not
> packed, but I always forget the alignment rules...)
It probably would, but I don't think anything cares, does it? This data
structure is purely internal - it isn't read from disk in a way that
expects structures to line up.
--
Colin Watson [cjwatson@ubuntu.com]
next prev parent reply other threads:[~2009-09-10 19:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-10 16:39 [PATCH] 64-bit file sizes in NTFS Colin Watson
2009-09-10 19:17 ` Robert Millan
2009-09-10 19:24 ` Colin Watson [this message]
2009-09-11 13:14 ` Robert Millan
2009-09-11 14:26 ` Colin Watson
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=20090910192444.GC13423@riva.ucam.org \
--to=cjwatson@ubuntu.com \
--cc=agostino.russo@gmail.com \
--cc=grub-devel@gnu.org \
/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.