diff mbox

libmultipath, rbd: Fix spelling in a source code comment

Message ID 0d6eda99-c8ef-1614-7a10-960b163e761b@sandisk.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Bart Van Assche Aug. 16, 2016, 8:02 p.m. UTC
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
---
 libmultipath/checkers/rbd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mike Christie Aug. 17, 2016, 4:36 p.m. UTC | #1
On 08/16/2016 03:02 PM, Bart Van Assche wrote:
> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
> ---
>  libmultipath/checkers/rbd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libmultipath/checkers/rbd.c b/libmultipath/checkers/rbd.c
> index 6f1b53a..7f540ad 100644
> --- a/libmultipath/checkers/rbd.c
> +++ b/libmultipath/checkers/rbd.c
> @@ -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.

Reviewed-by: Mike Christie <mchristi@redhat.com>

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

diff --git a/libmultipath/checkers/rbd.c b/libmultipath/checkers/rbd.c
index 6f1b53a..7f540ad 100644
--- a/libmultipath/checkers/rbd.c
+++ b/libmultipath/checkers/rbd.c
@@ -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);