Skip to contentSkip to conversation

staging: lustre: fld_request.c: Remove else after return.

PATCH Greg KH 2 participants 2 messages Feb 27, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author
#1 lore raw
Quoted 26 lines · Alberto Pires de Oliveira Neto

drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----

1 file changed, 3 insertions(+), 4 deletions(-)
drivers/staging/ renamed from drivers/staging/lustre/lustre/fld/fld_request.c +0 -0

lustre/lustre/fld/fld_request.c index b8d17e1..0b00301 100644 --- a/drivers/ staging/lustre/lustre/fld/fld_request.c +++ b/drivers/staging/lustre/lustre/fld /fld_request.c @@ -217,10 +217,9 @@ int fld_client_add_target(struct lu_client_fld *fld,

CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n",

        fld->lcf_name, name, tar->ft_idx);

return 0;

• } else {

• CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”,

• fld->lcf_name, name, tar->ft_idx);

• }

+ } + CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”, + fld->lcf_name, name, tar->ft_idx);

Quoted 6 lines

OBD_ALLOC_PTR(target);
if (target == NULL)

— 1.9.1

*

You sent an html patch, which obviously can not be applied :(

#2 lore raw

Hi,

I'm terribly sorry. It's my first patch. I used git send-email to send it. It's also my first time using sendgrid as a relay, and it seems that
there was "convert text to html" option turned on by default.
I tested again and now it seems ok.

I send the patch again.

Thanks, for the patience.

Quoted 35 lines · Greg KH
Quoted 26 lines · Alberto Pires de Oliveira Neto

drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----

1 file changed, 3 insertions(+), 4 deletions(-)
drivers/staging/ renamed from drivers/staging/lustre/lustre/fld/fld_request.c +0 -0

lustre/lustre/fld/fld_request.c index b8d17e1..0b00301 100644 --- a/drivers/ staging/lustre/lustre/fld/fld_request.c +++ b/drivers/staging/lustre/lustre/fld /fld_request.c @@ -217,10 +217,9 @@ int fld_client_add_target(struct lu_client_fld *fld,

CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n",

        fld->lcf_name, name, tar->ft_idx);

return 0;

• } else {

• CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”,

• fld->lcf_name, name, tar->ft_idx);

• }

+ } + CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”, + fld->lcf_name, name, tar->ft_idx);

Quoted 6 lines

OBD_ALLOC_PTR(target);
if (target == NULL)

— 1.9.1

*

You sent an html patch, which obviously can not be applied :(