From patchwork Mon Nov 7 10:52:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miklos Szeredi X-Patchwork-Id: 9414735 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 0F0D360585 for ; Mon, 7 Nov 2016 11:21:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3FB728A35 for ; Mon, 7 Nov 2016 11:21:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E889A28A39; Mon, 7 Nov 2016 11:21:04 +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 84B7B28A35 for ; Mon, 7 Nov 2016 11:21:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752029AbcKGLVB (ORCPT ); Mon, 7 Nov 2016 06:21:01 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38306 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541AbcKGLVB (ORCPT ); Mon, 7 Nov 2016 06:21:01 -0500 Received: by mail-wm0-f47.google.com with SMTP id f82so111703129wmf.1 for ; Mon, 07 Nov 2016 03:21:00 -0800 (PST) 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=KVcZlCHpc3qI3kS8P4mFpdqG27wfIYeKJcgabi3HkaI=; b=j/UmoFJfAZntr7R1wukPgHtuYnbrRGznvNxSd8MPbcDSXyRFz6tDzGf1473kQ5lbsW 1FTjvIfgWakh7burSpFufcKitXbDMUog5hUqs3lz1Hc50mi6SOMwaqzuEC+7UWcZDv8q ZdYyWrmjTZIhIELvHqViJKjpuXDEnpKFr2Jc7Ft0yYNbEAEDuWoFPCjkwI+thXv0LDQU FmSTUDg5ZDlCMrnpiPER/2+I2EWjl5aAGCGtb8ZmdY3H7JIvkUDzPUC9K1Wakq9dNcWT sRKfrARx3A9rFIK4cKIT8h5Y3LUQgtW4HqgeLtnboCP2eaCyLKINxgXwb5FP2zpQiDPQ Z0pg== X-Gm-Message-State: ABUngvedMZrx5Dp0feNf0XgxkD7xQk7Bx5kiBwBdnU0g0qPKRFhvA2gDeOah9PJn56v2/B7z X-Received: by 10.194.83.166 with SMTP id r6mr4848530wjy.186.1478515927345; Mon, 07 Nov 2016 02:52:07 -0800 (PST) Received: from veci.piliscsaba.szeredi.hu (pool-dsl-2c-0018.externet.hu. [217.173.44.24]) by smtp.gmail.com with ESMTPSA id 1sm12749496wmk.22.2016.11.07.02.52.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 02:52:06 -0800 (PST) From: Miklos Szeredi To: Al Viro Cc: Trond Myklebust , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] vfs: remove ->d_time Date: Mon, 7 Nov 2016 11:52:00 +0100 Message-Id: <1478515920-20458-4-git-send-email-mszeredi@redhat.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1478515920-20458-1-git-send-email-mszeredi@redhat.com> References: <1478515920-20458-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 5beed7b30561..0061089099a8 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 {