[2/2] ext4, project: fix typo comments for quota credits reservation

Message ID 20170630035253.63358-1-wshilong@ddn.com
State New
Headers show

Commit Message

Wang shilong June 30, 2017, 3:52 a.m.
Signed-off-by: Wang Shilong <wshilong@ddn.com>
---
 fs/ext4/ext4_jbd2.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Wang shilong Aug. 6, 2017, 1:01 p.m. | #1
Hi Ted,

how about this small typo fix. ^_^

On Fri, Jun 30, 2017 at 11:52 AM, Wang Shilong
<wangshilong1991@gmail.com> wrote:
> Signed-off-by: Wang Shilong <wshilong@ddn.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
>

Patch

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 + \