[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150205153658.GI4258@quack.suse.cz>
Date: Thu, 5 Feb 2015 16:36:58 +0100
From: Jan Kara <jack@...e.cz>
To: Fabian Frederick <fabf@...net.be>
Cc: linux-kernel@...r.kernel.org, Jan Kara <jack@...e.cz>
Subject: Re: [PATCH 1/1 linux-next] udf: use bool for done
On Wed 04-02-15 18:15:04, Fabian Frederick wrote:
> variable 'done' is only used for true/false in loop.
OK, looks good. Merged.
Honza
>
> Signed-off-by: Fabian Frederick <fabf@...net.be>
> ---
> fs/udf/super.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/udf/super.c b/fs/udf/super.c
> index 3d35a75..f169411 100644
> --- a/fs/udf/super.c
> +++ b/fs/udf/super.c
> @@ -1599,7 +1599,7 @@ static noinline int udf_process_sequence(
> struct udf_vds_record *curr;
> struct generic_desc *gd;
> struct volDescPtr *vdp;
> - int done = 0;
> + bool done = false;
> uint32_t vdsn;
> uint16_t ident;
> long next_s = 0, next_e = 0;
> @@ -1680,7 +1680,7 @@ static noinline int udf_process_sequence(
> lastblock = next_e;
> next_s = next_e = 0;
> } else
> - done = 1;
> + done = true;
> break;
> }
> brelse(bh);
> --
> 1.9.3
>
--
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists