[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAP9B-Qn8gfTxN_xe+gZ6ET9RwZ_n6g0_+YA4wCX9NDaYibFnsQ@mail.gmail.com>
Date: Sun, 6 Aug 2017 21:01:45 +0800
From: Wang Shilong <wangshilong1991@...il.com>
To: "Theodore Ts'o" <tytso@....edu>
Cc: Li Xi <lixi@....com>, adilger@...ger.ca,
Wang Shilong <wshilong@....com>,
Shuichi Ihara <sihara@....com>,
Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 2/2] ext4, project: fix typo comments for quota credits reservation
Hi Ted,
how about this small typo fix. ^_^
On Fri, Jun 30, 2017 at 11:52 AM, Wang Shilong
<wangshilong1991@...il.com> wrote:
> Signed-off-by: Wang Shilong <wshilong@....com>
> ---
> fs/ext4/ext4_jbd2.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
> index f976111..6dd20c8 100644
> --- a/fs/ext4/ext4_jbd2.h
> +++ b/fs/ext4/ext4_jbd2.h
> @@ -43,10 +43,10 @@
> #define EXT4_XATTR_TRANS_BLOCKS 6U
>
> /* Define the minimum size for a transaction which modifies data. This
> - * needs to take into account the fact that we may end up modifying two
> - * quota files too (one for the group, one for the user quota). The
> - * superblock only gets updated once, of course, so don't bother
> - * counting that again for the quota updates. */
> + * needs to take into account the fact that we may end up modifying three
> + * quota files too (one for the group, one for the user quota, one for the
> + * project). The superblock only gets updated once, of course, so don't
> + * bother counting that again for the quota updates. */
>
> #define EXT4_DATA_TRANS_BLOCKS(sb) (EXT4_SINGLEDATA_TRANS_BLOCKS(sb) + \
> EXT4_XATTR_TRANS_BLOCKS - 2 + \
> --
> 2.9.3
>
Powered by blists - more mailing lists