public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] orangefs: remove initialization of i_version
@ 2017-10-30 15:19 Jeff Layton
  0 siblings, 0 replies; only message in thread
From: Jeff Layton @ 2017-10-30 15:19 UTC (permalink / raw)
  To: hubcap; +Cc: linux-fsdevel, linux-kernel, pvfs2-developers

From: Jeff Layton <jlayton@redhat.com>

...as it's completely unused.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
 fs/orangefs/super.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index 47f3fb9cbec4..0cf130de41d5 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -98,8 +98,6 @@ static void orangefs_inode_cache_ctor(void *req)
 
 	inode_init_once(&orangefs_inode->vfs_inode);
 	init_rwsem(&orangefs_inode->xattr_sem);
-
-	orangefs_inode->vfs_inode.i_version = 1;
 }
 
 static struct inode *orangefs_alloc_inode(struct super_block *sb)
-- 
2.13.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-30 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-30 15:19 [PATCH] orangefs: remove initialization of i_version Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox