From patchwork Wed Jun 22 14:35:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miklos Szeredi X-Patchwork-Id: 9193107 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CC1F260756 for ; Wed, 22 Jun 2016 14:37:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB2BF28400 for ; Wed, 22 Jun 2016 14:37:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD9672840B; Wed, 22 Jun 2016 14:37:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FD1628400 for ; Wed, 22 Jun 2016 14:37:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659AbcFVOgp (ORCPT ); Wed, 22 Jun 2016 10:36:45 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:35073 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752612AbcFVOf0 (ORCPT ); Wed, 22 Jun 2016 10:35:26 -0400 Received: by mail-wm0-f52.google.com with SMTP id v199so90230270wmv.0 for ; Wed, 22 Jun 2016 07:35:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rIHNGzz6WlVxqf7CyYoxO3vSflKxPGfadWdsYFN3dyg=; b=GD4JsAoGwWcqHJea2xU9awCZs/3jcg3hr97XX0Bk48H79xvpAKp7akVdPlkmXcPOto dsljMsvtuJ/nPonFJZDOLIdeLHm0phEioN3SLG/dfvzotlfy3cCH8E93LT7bICBp/7QI uPBeoVXy2iFpNj0c143vAUu3o4avK9/xLTekambLrSS36pMJGAtfAnb+nK1/KMbjKqCC lKPBuwOMnDEeMA8JisiFhNTPBZpbgb6ECQcnzr2v3kZG3tSthv4RJNSceKVvvRpZ6K7M 9vgIEze7ken7X4I/GAnlr/AZKIGIYXYuG3C4g968tAzvphrh21Dblp1Q7R5T/MaWj/KU +SNg== X-Gm-Message-State: ALyK8tJmy9xlqiqYKj5XSqAIyIMe7+DpM8ifmkBGiz+wWTiJART4cHZpLP174LZo+1EpdVlr X-Received: by 10.28.9.213 with SMTP id 204mr8785570wmj.88.1466606124574; Wed, 22 Jun 2016 07:35:24 -0700 (PDT) Received: from veci.piliscsaba.szeredi.hu (pool-dsl-2c-0018.externet.hu. [217.173.44.24]) by smtp.gmail.com with ESMTPSA id u71sm930666wmu.13.2016.06.22.07.35.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2016 07:35:23 -0700 (PDT) From: Miklos Szeredi To: Al Viro Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 8/8] vfs: remove ->d_time Date: Wed, 22 Jun 2016 16:35:10 +0200 Message-Id: <1466606110-24297-9-git-send-email-mszeredi@redhat.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1466606110-24297-1-git-send-email-mszeredi@redhat.com> References: <1466606110-24297-1-git-send-email-mszeredi@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove dentry->d_time field, which is now unused. This makes space for longer inline names. Signed-off-by: Miklos Szeredi --- include/linux/dcache.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/linux/dcache.h b/include/linux/dcache.h index a2f01284b277..c2d43c5a8e29 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -69,12 +69,12 @@ extern struct dentry_stat_t dentry_stat; * large memory footprint increase). */ #ifdef CONFIG_64BIT -# define DNAME_INLINE_LEN 32 /* 192 bytes */ +# define DNAME_INLINE_LEN 40 /* 192 bytes */ #else # ifdef CONFIG_SMP -# define DNAME_INLINE_LEN 36 /* 128 bytes */ -# else # define DNAME_INLINE_LEN 40 /* 128 bytes */ +# else +# define DNAME_INLINE_LEN 44 /* 128 bytes */ # endif #endif @@ -95,7 +95,6 @@ struct dentry { struct lockref d_lockref; /* per-dentry lock and refcount */ const struct dentry_operations *d_op; struct super_block *d_sb; /* The root of the dentry tree */ - unsigned long d_time; /* used by d_revalidate */ void *d_fsdata; /* fs-specific data */ union {