[U-Boot] [PATCH v7] Introduced btrfs file-system with btrload command

Simon Glass sjg at chromium.org
Fri Mar 15 01:00:25 CET 2013


Hi,

On Thu, Mar 14, 2013 at 5:35 AM, Adnan Ali <adnan.ali at codethink.co.uk> wrote:
> Introduces btrfs file-system to read file from
> volume/sub-volumes with btrload command. This
> implementation has read-only support.
> This btrfs implementation is based on syslinux btrfs
> code, commit 269ebc845ebc8b46ef4b0be7fa0005c7fdb95b8d.
>
> v7:     patch re-formated.
> v6:     patch re-formated.
> v5:     merged with master.
> v4:     btrls command added.
>
> Signed-off-by: Adnan Ali <adnan.ali at codethink.co.uk>

This is close enough I think. You shouldn't have 'char' return values
on the fs.h interface functions, and no blank line after 'return'. I
will leave it to Tom to see if he is happy with the command
parameters.

Thanks.

Acked-by: Simon Glass <sjg at chromium.org>

> ---
>  Makefile                   |    1 +
>  common/Makefile            |    1 +
>  common/cmd_btr.c           |   65 +++
>  fs/btrfs/Makefile          |   51 ++
>  fs/btrfs/btrfs.c           | 1357 ++++++++++++++++++++++++++++++++++++++++++++
>  fs/fs.c                    |   10 +
>  include/btrfs.h            |  416 ++++++++++++++
>  include/config_fallbacks.h |    4 +
>  include/crc.h              |    8 +
>  include/fs.h               |    1 +
>  lib/Makefile               |    1 +
>  lib/crc32_c.c              |   40 ++
>  12 files changed, 1955 insertions(+)
>  create mode 100644 common/cmd_btr.c
>  create mode 100644 fs/btrfs/Makefile
>  create mode 100644 fs/btrfs/btrfs.c
>  create mode 100644 include/btrfs.h
>  create mode 100644 lib/crc32_c.c
>


More information about the U-Boot mailing list