[PATCH 06/12] staging: lustre: replace c99 style comments with C89

Dan Carpenter dan.carpenter at oracle.com
Wed Aug 6 20:15:06 UTC 2014


On Wed, Aug 06, 2014 at 10:42:56PM +0530, Srikrishan Malik wrote:
> diff --git a/drivers/staging/lustre/lustre/mdc/mdc_lib.c b/drivers/staging/lustre/lustre/mdc/mdc_lib.c
> index 35ce2fdf696c..7f9b6eb51860 100644
> --- a/drivers/staging/lustre/lustre/mdc/mdc_lib.c
> +++ b/drivers/staging/lustre/lustre/mdc/mdc_lib.c
> @@ -416,9 +416,9 @@ void mdc_link_pack(struct ptlrpc_request *req, struct md_op_data *op_data)
>  	LASSERT(rec != NULL);
>  
>  	rec->lk_opcode   = REINT_LINK;
> -	rec->lk_fsuid    = op_data->op_fsuid;//current->fsuid;
> -	rec->lk_fsgid    = op_data->op_fsgid;//current->fsgid;
> -	rec->lk_cap      = op_data->op_cap;//current->cap_effective;
> +	rec->lk_fsuid    = op_data->op_fsuid; /* current->fsuid; */
> +	rec->lk_fsgid    = op_data->op_fsgid; /*current->fsgid; */
> +	rec->lk_cap      = op_data->op_cap;   /*current->cap_effective; */


Put a space after the '/*'.

regards,
dan carpenter




More information about the devel mailing list