[PATCH 2/3] staging: lustre: Replace "to to" with "to"

2018-03-04 Thread Arushi Singhal
This patch replace "to to" with "to".

Signed-off-by: Arushi Singhal 
---
 drivers/staging/lustre/lustre/include/cl_object.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/include/cl_object.h 
b/drivers/staging/lustre/lustre/include/cl_object.h
index 90419dc..341a145 100644
--- a/drivers/staging/lustre/lustre/include/cl_object.h
+++ b/drivers/staging/lustre/lustre/include/cl_object.h
@@ -1833,7 +1833,7 @@ struct cl_io {
 */
 ci_verify_layout:1,
/**
-* file is released, restore has to to be triggered by vvp layer
+* file is released, restore has to be triggered by vvp layer
 */
 ci_restore_needed:1,
/**
-- 
2.7.4

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH 2/3] Staging: lustre: Replace comma with a semicolon.

2015-08-04 Thread Shraddha Barke
Replace comma between expression statements by a semicolon.
The semantic patch used is as follows:

@@
expression e1,e2;
@@
e1
- ,
+ ;
e2;
---
 drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c 
b/drivers/staging/lustre/lustre/mgc/mgc_request.c
index 562bd95..019ee2f 100644
--- a/drivers/staging/lustre/lustre/mgc/mgc_request.c
+++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c
@@ -1232,7 +1232,7 @@ static int mgc_apply_recover_logs(struct obd_device *mgc,
pos += sprintf(obdname + pos, -%s%04x,
  is_ost ? OST : MDT, entry-mne_index);
 
-   cname = is_ost ? osc : mdc,
+   cname = is_ost ? osc : mdc;
pos += sprintf(obdname + pos, -%s-%s, cname, inst);
lustre_cfg_bufs_reset(bufs, obdname);
 
-- 
2.1.0

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel