[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/9] btrfs: Move the error logging from find_device() to its
From: |
Daniel Kiper |
Subject: |
Re: [PATCH 3/9] btrfs: Move the error logging from find_device() to its caller. |
Date: |
Tue, 25 Sep 2018 19:23:56 +0200 |
User-agent: |
Mutt/1.3.28i |
On Wed, Sep 19, 2018 at 08:40:34PM +0200, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli <address@hidden>
>
> The caller knows better if this error is fatal or not, i.e. another disk is
> available or not.
>
> This is a preparatory patch.
>
> Signed-off-by: Goffredo Baroncelli <address@hidden>
> Reviewed-by: Daniel Kiper <address@hidden>
> ---
> grub-core/fs/btrfs.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c
> index 4f404f4b2..0cdfaf7c0 100644
> --- a/grub-core/fs/btrfs.c
> +++ b/grub-core/fs/btrfs.c
> @@ -604,9 +604,6 @@ find_device (struct grub_btrfs_data *data, grub_uint64_t
> id, int do_rescan)
> grub_device_iterate (find_device_iter, &ctx);
> if (!ctx.dev_found)
> {
> - grub_error (GRUB_ERR_BAD_FS,
> - N_("couldn't find a necessary member device "
> - "of multi-device filesystem"));
> return NULL;
> }
I think that you can drop curly brackets too.
If you do that you can retain my Reviewed-by.
Daniel
- [PATCH V7] Add support for BTRFS raid5/6 to GRUB, Goffredo Baroncelli, 2018/09/19
- [PATCH 5/9] btrfs: Move logging code in grub_btrfs_read_logical(), Goffredo Baroncelli, 2018/09/19
- [PATCH 2/9] btrfs: Add helper to check the btrfs header., Goffredo Baroncelli, 2018/09/19
- [PATCH 3/9] btrfs: Move the error logging from find_device() to its caller., Goffredo Baroncelli, 2018/09/19
- Re: [PATCH 3/9] btrfs: Move the error logging from find_device() to its caller.,
Daniel Kiper <=
- [PATCH 4/9] btrfs: Avoid a rescan for a device which was already not found., Goffredo Baroncelli, 2018/09/19
[PATCH 7/9] btrfs: Add support for recovery for a RAID 5 btrfs profiles., Goffredo Baroncelli, 2018/09/19
[PATCH 8/9] btrfs: Make more generic the code for RAID 6 rebuilding, Goffredo Baroncelli, 2018/09/19
[PATCH 9/9] btrfs: Add RAID 6 recovery for a btrfs filesystem., Goffredo Baroncelli, 2018/09/19