Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1428860

[PATCH 8/8] vfs: remove ->d_time

From Miklos Szeredi <mszeredi@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 8/8] vfs: remove ->d_time
Date 2016-06-22 16:40 +0200
Message-ID <rMRtU-4E1-49@gated-at.bofh.it> (permalink)
References <rMRtT-4E1-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Remove dentry->d_time field, which is now unused.  This makes space for
longer inline names.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
---
 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 {
-- 
2.5.5

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] remove d_time from dentry Miklos Szeredi <mszeredi@redhat.com> - 2016-06-22 16:40 +0200
  [PATCH 8/8] vfs: remove ->d_time Miklos Szeredi <mszeredi@redhat.com> - 2016-06-22 16:40 +0200
  [PATCH 2/8] ceph: don't use ->d_time Miklos Szeredi <mszeredi@redhat.com> - 2016-06-22 16:40 +0200
    Re: [PATCH 2/8] ceph: don't use ->d_time "Yan, Zheng" <zyan@redhat.com> - 2016-06-23 08:30 +0200
  Re: [PATCH 0/8] remove d_time from dentry Miklos Szeredi <mszeredi@redhat.com> - 2016-06-22 23:30 +0200

csiph-web