[lustre-devel] [patch] Staging: lustre: indent an if statement

Martin Hecht hecht at hlrs.de
Fri Oct 14 10:36:25 UTC 2016


On 10/14/2016 12:38 AM, James Simmons wrote:
>> This if statement wasn't intended.
just to be sure: in conjunction with the subject of the mail this should
read "indented" instead of "intended", right?
- otherwise this would result in a slightly different patch...


> Acked-by: James Simmons <jsimmons at infradead.org>
>  
>> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
>>
>> diff --git a/drivers/staging/lustre/lustre/obdclass/cl_object.c b/drivers/staging/lustre/lustre/obdclass/cl_object.c
>> index 3199dd4..a102c36 100644
>> --- a/drivers/staging/lustre/lustre/obdclass/cl_object.c
>> +++ b/drivers/staging/lustre/lustre/obdclass/cl_object.c
>> @@ -335,7 +335,7 @@ int cl_object_getstripe(const struct lu_env *env, struct cl_object *obj,
>>  		if (obj->co_ops->coo_getstripe) {
>>  			result = obj->co_ops->coo_getstripe(env, obj, uarg);
>>  			if (result)
>> -			break;
>> +				break;
>>  		}
>>  	}
>>  	return result;
>>
> _______________________________________________
> lustre-devel mailing list
> lustre-devel at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2252 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20161014/2f94191f/attachment.p7s>


More information about the devel mailing list