From patchwork Fri Jun 30 03:52:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Shilong X-Patchwork-Id: 782649 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wzN0p2qvjz9sNV for ; Fri, 30 Jun 2017 13:53:14 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="diip/Yu6"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752026AbdF3DxN (ORCPT ); Thu, 29 Jun 2017 23:53:13 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36240 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722AbdF3DxN (ORCPT ); Thu, 29 Jun 2017 23:53:13 -0400 Received: by mail-pf0-f193.google.com with SMTP id z6so15445711pfk.3 for ; Thu, 29 Jun 2017 20:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=HmVIDmmA7O57NoCtBj9rRn350O7pwpvxKy6O+rCRCcA=; b=diip/Yu6gh7kXeVCMBVfB4JJOglvH2gGpF0z2VgK+3spHCdNYXRsuxXrib/aAEgNLL YgC753GJ98u6HysU8n1IDl+0mRCW1hZg11q6LISNKNF+lo5MxOAjeF5NqNqpGuRSvlyi ltIy631h3GYtM3vniwI59joshi2FalQ9PyADq7DELSjoqp9mVAFAXdoGltwBAK1uYYHk JBXzeJvPv5T/85hkzNUDwJnIEQvvEUB5pc4FjfdT2d6dcMbtc+wjcVJbtCANT8UavcOU D0gaqLmS4ClLAsOOhdv0lybTwE5v5YD/JP1HEtRbuf+iJ3JNSmVkBdimHrujk810h3SJ JKww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HmVIDmmA7O57NoCtBj9rRn350O7pwpvxKy6O+rCRCcA=; b=KVOWuhTAG/sm2AlRhOsyPbm7OmJonbw0aotWTsJ7n8UH5wWoWNCzzJiSOAIJn9oisb zKWRsqWd23AiWlUNCZtOMHTmwSHaMXpVyh/VOHpA+E+IpwSP3vZeylFjrcAqr7rFdTbK kMJj7eZKh4rlFQJHay/pK0u4XlXIABbrtatkJHyc+DdxcTEX3799xhrmE7JHB3pbI9Uu xiJdQfxC/e5+UVKmeic+UFJQbsqZ0M9keaIp/sc/C2bx4HFVCMOGclqic2xGc7TSCCAT RPRaiJum6PKYlW6zM1/27/NO8h+RFDRgz1OarBMFfZuqSaPZOz+iVsKXqKbprw6HCFqf 9Ybw== X-Gm-Message-State: AKS2vOyy1fcGV6ZLl+hZz4hyjE7X62/apvj2gaOvC7y+kxcmKz7GztAb Ysrwf3y5kC9MdOwQ X-Received: by 10.99.125.25 with SMTP id y25mr19223430pgc.38.1498794792434; Thu, 29 Jun 2017 20:53:12 -0700 (PDT) Received: from localhost.localdomain ([45.76.153.63]) by smtp.gmail.com with ESMTPSA id l4sm11245616pgn.34.2017.06.29.20.53.08 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 29 Jun 2017 20:53:12 -0700 (PDT) From: Wang Shilong X-Google-Original-From: Wang Shilong To: linux-ext4@vger.kernel.org Cc: tytso@mit.edu, lixi@ddn.com, adilger@dilger.ca, wshilong@ddn.com, sihara@ddn.com Subject: [PATCH 2/2] ext4, project: fix typo comments for quota credits reservation Date: Fri, 30 Jun 2017 11:52:53 +0800 Message-Id: <20170630035253.63358-1-wshilong@ddn.com> X-Mailer: git-send-email 2.11.0 (Apple Git-81) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Signed-off-by: Wang Shilong --- 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 + \