Skip to contentSkip to conversation

libmultipath, rbd: Fix spelling in a source code comment

PATCH In review Bart Van Assche 2 participants 2 messages Aug 16, 2016 – Aug 17, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libmultipath, rbd: Fix spelling in a source code comment

---
 libmultipath/checkers/rbd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/checkers/rbd.c +1 -1
index 6f1b53a..7f540ad 100644
@@ -355,7 +355,7 @@ static int sysfs_write_rbd_bus(const char *which, const char *buf,
 	int fd;
 	int r;
 
-	/* we require newer kernels so single_major should alwayws be there */
+	/* we require newer kernels so single_major should always be there */
 	snprintf(sysfs_path, sizeof(sysfs_path),
 		 "/sys/bus/rbd/%s_single_major", which);
 	fd = open(sysfs_path, O_WRONLY);
Signature · 1 line
2.9.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Bart Van Assche
---
 libmultipath/checkers/rbd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/checkers/rbd.c +0 -0
index 6f1b53a..7f540ad 100644

libmultipath/checkers/rbd.c static int sysfs_write_rbd_bus(const char *which, const char *buf, · line 361

Quoted 8 lines
libmultipath/checkers/rbd.c +1 -1
@@ -355,7 +355,7 @@ static int sysfs_write_rbd_bus(const char *which, const char *buf,
 	int fd;
 	int r;
 
-	/* we require newer kernels so single_major should alwayws be there */
+	/* we require newer kernels so single_major should always be there */
 	snprintf(sysfs_path, sizeof(sysfs_path),
 		 "/sys/bus/rbd/%s_single_major", which);
 	fd = open(sysfs_path, O_WRONLY);

Thanks.