From: Jan Kara <jack@suse.cz>
To: Eric Whitney <enwlinux@gmail.com>
Cc: linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: [PATCH] ext4: correct comment references to ext4_ext_direct_IO()
Date: Tue, 25 Jul 2017 12:56:20 +0200 [thread overview]
Message-ID: <20170725105620.GB20040@quack2.suse.cz> (raw)
In-Reply-To: <20170714210426.GB12793@localhost.localdomain>
On Fri 14-07-17 17:04:26, Eric Whitney wrote:
> Commit 914f82a32d0268847 "ext4: refactor direct IO code" deleted
> ext4_ext_direct_IO(), but references to that function remain in
> comments. Update them to refer to ext4_direct_IO_write().
>
> Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Looks good to me. You can add:
Reviewed-by: Jan Kara <jack@suse.cz>
Honza
> ---
> fs/ext4/inode.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
> index 3c600f0..2e6c022 100644
> --- a/fs/ext4/inode.c
> +++ b/fs/ext4/inode.c
> @@ -892,7 +892,7 @@ static int ext4_dio_get_block_unwritten_async(struct inode *inode,
> /*
> * Get block function for non-AIO DIO writes when we create unwritten extent if
> * blocks are not allocated yet. The extent will be converted to written
> - * after IO is complete from ext4_ext_direct_IO() function.
> + * after IO is complete by ext4_direct_IO_write().
> */
> static int ext4_dio_get_block_unwritten_sync(struct inode *inode,
> sector_t iblock, struct buffer_head *bh_result, int create)
> @@ -907,7 +907,7 @@ static int ext4_dio_get_block_unwritten_sync(struct inode *inode,
>
> /*
> * Mark inode as having pending DIO writes to unwritten extents.
> - * ext4_ext_direct_IO() checks this flag and converts extents to
> + * ext4_direct_IO_write() checks this flag and converts extents to
> * written.
> */
> if (!ret && buffer_unwritten(bh_result))
> --
> 2.1.4
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
next prev parent reply other threads:[~2017-07-25 10:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 21:04 [PATCH] ext4: correct comment references to ext4_ext_direct_IO() Eric Whitney
2017-07-14 21:18 ` Andreas Dilger
2017-07-25 10:56 ` Jan Kara [this message]
2017-07-31 2:28 ` Theodore Ts'o
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=20170725105620.GB20040@quack2.suse.cz \
--to=jack@suse.cz \
--cc=enwlinux@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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