[Cluster-devel] [GFS2] Remove unused field in struct gfs2_inode
Steven Whitehouse
swhiteho at redhat.com
Tue Oct 16 12:28:25 UTC 2007
>From a0cd4c9eb46a79829a60a37743fc0089882d3af6 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho at redhat.com>
Date: Tue, 16 Oct 2007 11:47:04 +0100
Subject: [PATCH] [GFS2] Remove unused field in struct gfs2_inode
Removes a field that is not used.
Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 5662ff9..e53da7d 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -274,7 +274,6 @@ struct gfs2_inode {
spinlock_t i_spin;
struct rw_semaphore i_rw_mutex;
- unsigned long i_last_pfault;
};
/*
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index 950f314..5e52421 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -487,7 +487,6 @@ static struct inode *gfs2_alloc_inode(struct super_block *sb)
if (ip) {
ip->i_flags = 0;
ip->i_gl = NULL;
- ip->i_last_pfault = jiffies;
}
return &ip->i_inode;
}
--
1.5.1.2
More information about the Cluster-devel
mailing list