Staging: lustre: Do not add space between function name and open parenthesis.
PATCH 1/1 Staging: lustre: Do not add space between function name and open parenthesis.
Do not add space between function name and open parenthesis.
Signed-off-by Sandhya Bankar <[email protected]>
--- .../staging/lustre/lustre/osc/osc_cl_internal.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)
drivers/staging/lustre/lustre/osc/osc_cl_internal.h +11 -11
@@ -417,20 +417,20 @@ extern struct lu_context_key osc_session_key;int osc_lock_init (const struct lu_env *env,struct cl_object *obj,struct cl_lock *lock,const struct cl_io *io); -int osc_io_init (const struct lu_env *env, -struct cl_object *obj,struct cl_io *io); -int osc_req_init (const struct lu_env *env,struct cl_device *dev, -struct cl_req *req); +int osc_io_init (const struct lu_env *env, +struct cl_object *obj,struct cl_io *io); +int osc_req_init (const struct lu_env *env,struct cl_device *dev, +struct cl_req *req);struct lu_object *osc_object_alloc (const struct lu_env *env,const struct lu_object_header *hdr,struct lu_device *dev);int osc_page_init (const struct lu_env *env,struct cl_object *obj,struct cl_page *page,struct page *vmpage); -void osc_index2policy (ldlm_policy_data_t *policy,const struct cl_object *obj, -pgoff_t start,pgoff_t end); -int osc_lvb_print (const struct lu_env *env,void *cookie, -lu_printer_t p,const struct ost_lvb *lvb); +void osc_index2policy (ldlm_policy_data_t *policy,const struct cl_object *obj, +pgoff_t start,pgoff_t end); +int osc_lvb_print (const struct lu_env *env,void *cookie, +lu_printer_t p,const struct ost_lvb *lvb);void osc_page_submit (const struct lu_env *env,struct osc_page *opg,enum cl_req_type crt,int brw_flags);
@@ -458,11 +458,11 @@ int osc_cache_wait_range(const struct lu_env *env, struct osc_object *obj,void osc_io_unplug (const struct lu_env *env,struct client_obd *cli,struct osc_object *osc); -void osc_object_set_contended (struct osc_object *obj); +void osc_object_set_contended (struct osc_object *obj);void osc_object_clear_contended (struct osc_object *obj); -int osc_object_is_contended (struct osc_object *obj); +int osc_object_is_contended (struct osc_object *obj); -int osc_lock_is_lockless (const struct osc_lock *olck); +int osc_lock_is_lockless (const struct osc_lock *olck);/***************************************************************************** *
Signature · 1 line
1.8.3.4
Greg KH
maintainerQuoted 27 lines · Sandhya Bankar
Do not add space between function name and open parenthesis.
Signed-off-by Sandhya Bankar <[email protected]>--- .../staging/lustre/lustre/osc/osc_cl_internal.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)drivers/staging/lustre/lustre/osc/osc_cl_internal.h +4
-4@@ -417,20 +417,20 @@ extern struct lu_context_key osc_session_key;int osc_lock_init (const struct lu_env *env,struct cl_object *obj,struct cl_lock *lock,const struct cl_io *io); -int osc_io_init (const struct lu_env *env, -struct cl_object *obj,struct cl_io *io); -int osc_req_init (const struct lu_env *env,struct cl_device *dev, -struct cl_req *req); +int osc_io_init (const struct lu_env *env, +struct cl_object *obj,struct cl_io *io); +int osc_req_init (const struct lu_env *env,struct cl_device *dev, +struct cl_req *req);struct lu_object *osc_object_alloc (const struct lu_env *env,const struct lu_object_header *hdr,struct lu_device *dev); int osc_page_init(const struct lu_env *env, struct cl_object *obj,
drivers/staging/lustre/lustre/osc/osc_cl_internal.h extern struct lu_context_key osc_session_key; · line 433
Quoted 10 lines
drivers/staging/lustre/lustre/osc/osc_cl_internal.h +4
-4struct cl_page *page, struct page *vmpage); -void osc_index2policy (ldlm_policy_data_t *policy,const struct cl_object *obj, -pgoff_t start,pgoff_t end); -int osc_lvb_print (const struct lu_env *env,void *cookie, -lu_printer_t p,const struct ost_lvb *lvb); +void osc_index2policy (ldlm_policy_data_t *policy,const struct cl_object *obj, +pgoff_t start,pgoff_t end); +int osc_lvb_print (const struct lu_env *env,void *cookie, +lu_printer_t p,const struct ost_lvb *lvb);
Does the code look better now? Before your patch, it looked much nicer, don't you think?
thanks,
greg k-h