Received: by 10.213.65.68 with SMTP id h4csp2313293imn; Mon, 2 Apr 2018 05:24:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ii3x3ghhK73okAtzZPdym7XIPzjJNKhzz/62MfV3UhrMdTrecsIaxq8MSVANrplSW3DMg X-Received: by 2002:a17:902:820a:: with SMTP id x10-v6mr482786pln.306.1522671857335; Mon, 02 Apr 2018 05:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522671857; cv=none; d=google.com; s=arc-20160816; b=Hz0k/f0NWBSQykuLgxYKjdWozNEDkwfiRBoh11IY0jGkpCE4Bz0J1ftkw2YFnXojLa K6X2/WLMilrIIQzFk7wUPm69GijE5betBcCPVuhUffleYJX1GthXUfTU4ggWl1g/49Al nV8KQOOsZITeTWdHO8GsHtCYxsKtJLiwCENljrZK0j/bKqnep9dTu7XjvVPDe7V0+FId nOKwQDVX0Ap9o/Ax3Ur6kst4wOIlM0Z0WxLaaTuZK0eS0UJLlI2wC734kgnbzctMxxLA OcKXTLdM7FeaGybHqCEq3IwSX5LFqI0rNMI5GTl3qq0s67qd15DdLZj/aZrAkv28i+oC tEVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=UsvN19XeqS23DIrs5f6fVx8HeIqWaDatzEbiWu1Fmug=; b=sYDv6wZowBqcLSDyomzf8KkEVeGNdf7XAFICZ44lF+FB03GiFfInG4RQ5MKXxp0QFF Zkj9QZ8E8/dmG9ehdB6VX0TmC2wK+bBbUmdOleUuwba/hntT0BUSZLp5+wObn12bf+/K wxqssofj4Tvk/Mu9kYZJx2PzxJNxyOhYhDiQbqvdtbzSSNvnPV/TWHrAL/yW3+ROHKBi Js0E/K8oPJ0BA97f5YZP9qmbqFLGgLxcJhcglxxXpZ0A09g4bJF5W4dJN1eizbYnECwf Xn5MbzKsJNHCGQOrne6OQz1Ahpy/K2cC/sibS4dFHmUNk5Pxvv7bYxg3d9a579aS07X2 PxGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t13si167443pgo.247.2018.04.02.05.24.03; Mon, 02 Apr 2018 05:24:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751994AbeDBMWg (ORCPT + 99 others); Mon, 2 Apr 2018 08:22:36 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56519 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751239AbeDBMWf (ORCPT ); Mon, 2 Apr 2018 08:22:35 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 4E1203BF61762; Mon, 2 Apr 2018 20:22:30 +0800 (CST) Received: from huawei.com (10.113.189.234) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.361.1; Mon, 2 Apr 2018 20:22:26 +0800 From: Yunlong Song To: , , , , CC: , , , , , Subject: [PATCH] f2fs: make assignment of t->dentry_bitmap more readable Date: Mon, 2 Apr 2018 20:22:20 +0800 Message-ID: <1522671740-92824-1-git-send-email-yunlong.song@huawei.com> X-Mailer: git-send-email 1.8.5.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.113.189.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In make_dentry_ptr_block, it is confused with "&" for t->dentry_bitmap but without "&" for t->dentry, so delete "&" to make code more readable. Signed-off-by: Yunlong Song --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 191ee57..474b9e9 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -471,7 +471,7 @@ static inline void make_dentry_ptr_block(struct inode *inode, d->inode = inode; d->max = NR_DENTRY_IN_BLOCK; d->nr_bitmap = SIZE_OF_DENTRY_BITMAP; - d->bitmap = &t->dentry_bitmap; + d->bitmap = t->dentry_bitmap; d->dentry = t->dentry; d->filename = t->filename; } -- 1.8.5.2