From: Jens Axboe <axboe@kernel.dk>
To: "Dmitry V. Levin" <ldv@altlinux.org>,
Damien Le Moal <damien.lemoal@wdc.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] uapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions
Date: Sun, 16 Dec 2018 19:52:17 -0700 [thread overview]
Message-ID: <5c1ce6a8-9ef0-9031-2ecf-5083e4976ccb@kernel.dk> (raw)
In-Reply-To: <20181216014951.GA14229@altlinux.org>
On 12/15/18 6:49 PM, Dmitry V. Levin wrote:
> According to the documentation in include/uapi/asm-generic/ioctl.h,
> _IOW means userspace is writing and kernel is reading, and
> _IOR means userspace is reading and kernel is writing.
>
> In case of these two ioctls, kernel is writing and userspace is reading,
> so they have to be _IOR instead of _IOW.
Applied, thanks.
--
Jens Axboe
prev parent reply other threads:[~2018-12-17 2:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-16 1:49 [PATCH] uapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions Dmitry V. Levin
2018-12-16 23:50 ` Damien Le Moal
2018-12-17 2:52 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5c1ce6a8-9ef0-9031-2ecf-5083e4976ccb@kernel.dk \
--to=axboe@kernel.dk \
--cc=damien.lemoal@wdc.com \
--cc=ldv@altlinux.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox