Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1519326 > unrolled thread
| Started by | James Simmons <jsimmons@infradead.org> |
|---|---|
| First post | 2016-11-10 20:50 +0100 |
| Last post | 2016-11-10 20:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [patch] staging: lustre: lov: crash in error handling James Simmons <jsimmons@infradead.org> - 2016-11-10 20:50 +0100
| From | James Simmons <jsimmons@infradead.org> |
|---|---|
| Date | 2016-11-10 20:50 +0100 |
| Subject | Re: [patch] staging: lustre: lov: crash in error handling |
| Message-ID | <sC3we-2e1-23@gated-at.bofh.it> |
> We accidentally made this unsigned so now the error handling will loop
> until it crashes.
>
> Fixes: 55051039fdad ('staging: lustre: lov: remove LSM from struct lustre_md')
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Yep. I just sent a patch to fix that.
> diff --git a/drivers/staging/lustre/lustre/lov/lov_ea.c b/drivers/staging/lustre/lustre/lov/lov_ea.c
> index 53db170..2e2abed 100644
> --- a/drivers/staging/lustre/lustre/lov/lov_ea.c
> +++ b/drivers/staging/lustre/lustre/lov/lov_ea.c
> @@ -81,7 +81,7 @@ struct lov_stripe_md *lsm_alloc_plain(u16 stripe_count)
> size_t oinfo_ptrs_size, lsm_size;
> struct lov_stripe_md *lsm;
> struct lov_oinfo *loi;
> - unsigned int i;
> + int i;
>
> LASSERT(stripe_count <= LOV_MAX_STRIPE_COUNT);
>
>
Back to top | Article view | linux.kernel
csiph-web