Skip to content
  • Anton Blanchard's avatar
    Fix btrfs endianness handling. · bbb39a45
    Anton Blanchard authored
    
    
    	* grub-core/fs/btrfs.c (key_cmp): Use grub_le_to_cpu for clarity.
    	(lower_bound): Make root uint64_t. Use root in le.
    	(grub_btrfs_read_logical): Fix template key init. Fix address byteswap.
    	(find_path): Fix template key init.
    	(grub_btrfs_dir): Fix mtime byteswap.
    	* include/grub/types.h (grub_cpu_to_le64_compile_time): New macro.
    
    Also-By: default avatarVladimir Serbinenko <phcoder@gmail.com>
    bbb39a45