lkml.org 
[lkml]   [2017]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] orangefs: remove initialization of i_version
Date
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
\
 
 \ /
  Last update: 2017-10-30 16:20    [W:0.071 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site