Re: [PATCH 2/4] Cryptomount support key files

2015-06-25 Thread John Lane
On 24/06/15 13:02, Andrei Borzenkov wrote: > On Wed, Jun 24, 2015 at 2:26 PM, John Lane wrote: >> + >> + keyfile_size = grub_file_read (keyfile, key, keyfile_size); >> + if (keyfile_size == (grub_size_t)-1) >> + return grub_errno; > If keyfile size is explic

Re: [PATCH] Fix missing byte order conversion in get_btrfs_fs_prefix function

2015-06-25 Thread Andrei Borzenkov
В Mon, 22 Jun 2015 16:45:27 +0800 Michael Chang пишет: > Since btrfs on-disk format uses little-endian, the searched item types > (ROOT_REF, INODE_REF) need converting the byte order in order to > function properly on big-endian systems. Applied. Thanks! > --- > grub-core/osdep/linux/getroot.c