Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1024836pxf; Thu, 8 Apr 2021 20:23:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygBAwtf3kKBR039KuBD1el/Z/uQDIyJ1xzhjeYGTIeVDuebDoTxKwWqK8AkHycWrCPmiRg X-Received: by 2002:a17:907:2666:: with SMTP id ci6mr14271409ejc.361.1617938627001; Thu, 08 Apr 2021 20:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617938626; cv=none; d=google.com; s=arc-20160816; b=p1sAmOAxh+bK0x1vmtMKe02Ohuv2T7IOYgbp/QX+XFbfYM0b1QQoNHkdsDj4wovYsa DeRMPtnpLZSykXs80vcWgUNPo99BFEqIwShr3Zoz4eAcR54z0zXM9H+tzd+iscsxZ46O ttXi46vQtHG28rgdoSSUFoREItFEv4JSeUcL/1JSQXGCin7/3rmyxbZBq72CaA9NtJRC jhZEUdVIY7NknAUZ/80EarpgR22HxpFZv+DHD97FqN/iaWDa6xhMn/SoQbuD1q14EFfw DAV1BFPT67CovkXbKv5D1lUQlOKrm9NGgbnUNnsz84Yef0XM3PUimkN99+j2/jXFxgAq nh/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=zkni3RPBRlCffRP7XAbDAUEmlgi1XafmI/4LixCaqmg=; b=pHCCWWekV6hSpxfWZ3+/he4t4kePeC/mvEl8sJ+W8kOl15DWhUbZ2yMwUIzhW558xN z7Ls3/YgZ3NJsD1WN1PKNBck9UFtqDGdHbrSF72dl0pUElHt93y0IQ1NpKuJ9Svp3KKb 9nXj05wZo0bc6QNcLBTPRUM63Oy9HD3QvLVkZm1wBhm+Hg0vKP0s86vU//W3vyBqmuwD B/JBUhPgmBfzJq3Fpa8Cl+EH59fxgkhroiatvnA+ykdajPvRas61OrlG0lMwIdDiTj3T 3O37LJ0FD2788+TvEiTfbaE27E2JkGSazY4s8qDT6Tv3ZkHiEoeI21zbABb9ddDJ5DZy bM8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t4si1216158edq.46.2021.04.08.20.23.18; Thu, 08 Apr 2021 20:23:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232858AbhDIDWz (ORCPT + 99 others); Thu, 8 Apr 2021 23:22:55 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:16105 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232662AbhDIDWy (ORCPT ); Thu, 8 Apr 2021 23:22:54 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FGk0W00hTz1BGRq for ; Fri, 9 Apr 2021 11:20:26 +0800 (CST) Received: from huawei.com (10.175.101.6) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.498.0; Fri, 9 Apr 2021 11:22:29 +0800 From: Jack Qiu To: CC: Subject: [PATCH -next] ext4: fix trailing whitespace Date: Fri, 9 Apr 2021 12:20:35 +0800 Message-ID: <20210409042035.15516-1-jack.qiu@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.101.6] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Made suggested modifications from checkpatch in reference to ERROR: trailing whitespace Signed-off-by: Jack Qiu --- fs/ext4/balloc.c | 2 +- fs/ext4/mballoc.c | 2 +- fs/ext4/namei.c | 6 +++--- fs/ext4/super.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index 74a5172c2d83..9dc6e74b265c 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c @@ -239,7 +239,7 @@ unsigned ext4_free_clusters_after_init(struct super_block *sb, ext4_group_t block_group, struct ext4_group_desc *gdp) { - return num_clusters_in_group(sb, block_group) - + return num_clusters_in_group(sb, block_group) - ext4_num_overhead_clusters(sb, block_group, gdp); } diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index a02fadf4fc84..1e39ff5cdde2 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -2590,7 +2590,7 @@ int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) sbi->s_group_info_size = size / sizeof(*sbi->s_group_info); if (old_groupinfo) ext4_kvfree_array_rcu(old_groupinfo); - ext4_debug("allocated s_groupinfo array for %d meta_bg's\n", + ext4_debug("allocated s_groupinfo array for %d meta_bg's\n", sbi->s_group_info_size); return 0; } diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 883e2a7cd4ab..996b89b406c5 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -2139,10 +2139,10 @@ static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname, retval = ext4_handle_dirty_dx_node(handle, dir, frame->bh); if (retval) - goto out_frames; + goto out_frames; retval = ext4_handle_dirty_dirblock(handle, dir, bh2); if (retval) - goto out_frames; + goto out_frames; de = do_split(handle,dir, &bh2, frame, &fname->hinfo); if (IS_ERR(de)) { @@ -3372,7 +3372,7 @@ static int ext4_symlink(struct user_namespace *mnt_userns, struct inode *dir, * for transaction commit if we are running out of space * and thus we deadlock. So we have to stop transaction now * and restart it when symlink contents is written. - * + * * To keep fs consistent in case of crash, we have to put inode * to orphan list in the mean time. */ diff --git a/fs/ext4/super.c b/fs/ext4/super.c index b9693680463a..675f5de6ac06 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -4996,7 +4996,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) ext4_journal_commit_callback; block = ext4_count_free_clusters(sb); - ext4_free_blocks_count_set(sbi->s_es, + ext4_free_blocks_count_set(sbi->s_es, EXT4_C2B(sbi, block)); err = percpu_counter_init(&sbi->s_freeclusters_counter, block, GFP_KERNEL); -- 2.17.1