[syslinux] [syslinux:master] btrfs: fix typo in definition of BTRFS_ADV_OFFSET

Geert Stappers stappers at stappers.nl
Tue May 20 21:29:59 PDT 2014


Op 2014-05-20 om 16:57 schreef syslinux-bot for H. Peter Anvin:
> Commit-ID:  93f89ce6697adffcb3b40d758445ff9adf18b6d4
> Gitweb:     http://www.syslinux.org/commit/93f89ce6697adffcb3b40d758445ff9adf18b6d4

That yields 'Bad commit reference: 93f89ce6697adffcb3b40d758445ff9adf18b6d4'

What can I do to fix it?


> Author:     H. Peter Anvin <hpa op linux.intel.com>
> AuthorDate: Tue, 20 May 2014 16:55:10 -0700
> Committer:  H. Peter Anvin <hpa op linux.intel.com>
> CommitDate: Tue, 20 May 2014 16:55:10 -0700
> 
> btrfs: fix typo in definition of BTRFS_ADV_OFFSET
> 
> Correct the macros used in BTRFS_ADV_OFFSET.
> 
> Signed-off-by: H. Peter Anvin <hpa op linux.intel.com>
> 
> ---
>  extlinux/main.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/extlinux/main.c b/extlinux/main.c
> index 7271a76..8468729 100644
> --- a/extlinux/main.c
> +++ b/extlinux/main.c
> @@ -86,7 +86,8 @@
>  #define BTRFS_SUBVOL_MAX 256	/* By btrfs specification */
>  static char subvol[BTRFS_SUBVOL_MAX];
>  
> -#define BTRFS_ADV_OFFSET (BOOT_AREA_A_OFFSET + BOOT_AREA_A_SIZE - 2*ADV_SIZE)
> +#define BTRFS_ADV_OFFSET (BTRFS_BOOT_AREA_A_OFFSET + BTRFS_BOOT_AREA_A_SIZE \
> +			  - 2*ADV_SIZE)
>  
>  /*
>   * Get the size of a block device


Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Syslinux mailing list