public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@kernel.org>
To: hubcap@omnibond.com
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	pvfs2-developers@beowulf-underground.org
Subject: [PATCH] orangefs: remove initialization of i_version
Date: Mon, 30 Oct 2017 11:19:20 -0400	[thread overview]
Message-ID: <20171030151920.9092-1-jlayton@kernel.org> (raw)

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

                 reply	other threads:[~2017-10-30 15:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171030151920.9092-1-jlayton@kernel.org \
    --to=jlayton@kernel.org \
    --cc=hubcap@omnibond.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pvfs2-developers@beowulf-underground.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox