Re: [PATCH] Remove CPPFLAGS_XEN

2015-05-13 Thread Andrei Borzenkov
В Wed, 13 May 2015 17:30:41 +0200 Olaf Hering пишет: > On Wed, May 13, Olaf Hering wrote: > > > On Mon, May 11, Olaf Hering wrote: > > > Looking at configure I see also TARGET_CPPFLAGS and HOST_CPPFLAGS. > > > Perhaps the former should be used for grub, I will try that. > > Setting TARGET_CPPFLA

Re: [PATCH] Remove CPPFLAGS_XEN

2015-05-13 Thread Olaf Hering
On Wed, May 13, Olaf Hering wrote: > On Mon, May 11, Olaf Hering wrote: > > Looking at configure I see also TARGET_CPPFLAGS and HOST_CPPFLAGS. > > Perhaps the former should be used for grub, I will try that. > Setting TARGET_CPPFLAGS works. And after poking further at this, should there be a conf

Re: [PATCH] Remove CPPFLAGS_XEN

2015-05-13 Thread Olaf Hering
On Mon, May 11, Olaf Hering wrote: > On Mon, May 11, Vladimir 'phcoder' Serbinenko wrote: > > > GRUB is built with -nostd*. So when we want headers from /usr/include we > > can't > > omit including them > Likely, but which stdint.h is required for the changed commands? The one > from the system

[PATCH 1/2] xfs: Add helpers for inode size

2015-05-13 Thread Jan Kara
Add helpers to return size of XFS inode on disk and when loaded in memory. Signed-off-by: Jan Kara --- grub-core/fs/xfs.c | 35 --- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/grub-core/fs/xfs.c b/grub-core/fs/xfs.c index 0d704e9a4d4b..61b4125e

[PATCH 0/2 v2] Support for XFS v5 filesystem

2015-05-13 Thread Jan Kara
Hi, here is second version of patches to add support for v5 XFS filesystems into grub. Since previous version, I have rebased patches on top of current grub git tree (some patches were already merged so I've dropped them) and implemented Andrei's comments.

[PATCH 2/2] xfs: V5 filesystem format support

2015-05-13 Thread Jan Kara
Add support for new XFS on disk format. We have to handle optional filetype fields in directory entries, additional CRC, LSN, UUID entries in some structures, etc. Signed-off-by: Jan Kara --- grub-core/fs/xfs.c | 244 + 1 file changed, 172 inse

Re: [PATCH 4/4] xfs: V5 filesystem format support

2015-05-13 Thread Jan Kara
On Wed 13-05-15 07:50:38, Andrei Borzenkov wrote: > В Tue, 12 May 2015 15:47:40 +0200 > Jan Kara пишет: > > > + > > > > +static grub_uint64_t * > > > > +grub_xfs_btree_keys(struct grub_xfs_data *data, > > > > + struct grub_xfs_btree_node *leaf) > > > > +{ > > > > + char *p = (ch