diff mbox

blktrace_api.h: fix comment for struct blk_user_trace_setup

Message ID 20180127005806.105338-1-ebiggers3@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Biggers Jan. 27, 2018, 12:58 a.m. UTC
From: Eric Biggers <ebiggers@google.com>

'struct blk_user_trace_setup' is passed to BLKTRACESETUP, not
BLKTRACESTART.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 include/uapi/linux/blktrace_api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Biggers Feb. 26, 2018, 7:09 p.m. UTC | #1
On Fri, Jan 26, 2018 at 04:58:06PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 'struct blk_user_trace_setup' is passed to BLKTRACESETUP, not
> BLKTRACESTART.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
>  include/uapi/linux/blktrace_api.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/blktrace_api.h b/include/uapi/linux/blktrace_api.h
> index 20d1490d6377..3c50e07ee833 100644
> --- a/include/uapi/linux/blktrace_api.h
> +++ b/include/uapi/linux/blktrace_api.h
> @@ -131,7 +131,7 @@ enum {
>  #define BLKTRACE_BDEV_SIZE	32
>  
>  /*
> - * User setup structure passed with BLKTRACESTART
> + * User setup structure passed with BLKTRACESETUP
>   */
>  struct blk_user_trace_setup {
>  	char name[BLKTRACE_BDEV_SIZE];	/* output */
> -- 
> 2.16.0.rc1.238.g530d649a79-goog
> 

Ping.
Jens Axboe Feb. 26, 2018, 7:26 p.m. UTC | #2
On 1/26/18 5:58 PM, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 'struct blk_user_trace_setup' is passed to BLKTRACESETUP, not
> BLKTRACESTART.

Applied, thanks.
diff mbox

Patch

diff --git a/include/uapi/linux/blktrace_api.h b/include/uapi/linux/blktrace_api.h
index 20d1490d6377..3c50e07ee833 100644
--- a/include/uapi/linux/blktrace_api.h
+++ b/include/uapi/linux/blktrace_api.h
@@ -131,7 +131,7 @@  enum {
 #define BLKTRACE_BDEV_SIZE	32
 
 /*
- * User setup structure passed with BLKTRACESTART
+ * User setup structure passed with BLKTRACESETUP
  */
 struct blk_user_trace_setup {
 	char name[BLKTRACE_BDEV_SIZE];	/* output */