linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nilfs2: remove inode->i_version initialization
@ 2017-10-30 15:17 Jeff Layton
  2017-10-31  4:22 ` Ryusuke Konishi
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2017-10-30 15:17 UTC (permalink / raw)
  To: konishi.ryusuke; +Cc: linux-fsdevel, linux-kernel, linux-nilfs

From: Jeff Layton <jlayton@redhat.com>

It's never used in nilfs2.

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

diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index 4fc018dfcfae..3ce20cd44a20 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -160,7 +160,6 @@ struct inode *nilfs_alloc_inode(struct super_block *sb)
 	ii->i_bh = NULL;
 	ii->i_state = 0;
 	ii->i_cno = 0;
-	ii->vfs_inode.i_version = 1;
 	nilfs_mapping_init(&ii->i_btnode_cache, &ii->vfs_inode);
 	return &ii->vfs_inode;
 }
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nilfs2: remove inode->i_version initialization
  2017-10-30 15:17 [PATCH] nilfs2: remove inode->i_version initialization Jeff Layton
@ 2017-10-31  4:22 ` Ryusuke Konishi
  0 siblings, 0 replies; 2+ messages in thread
From: Ryusuke Konishi @ 2017-10-31  4:22 UTC (permalink / raw)
  To: Jeff Layton; +Cc: linux-fsdevel, linux-kernel, linux-nilfs

On Mon, 30 Oct 2017 11:17:02 -0400, Jeff Layton wrote:
> From: Jeff Layton <jlayton@redhat.com>
> 
> It's never used in nilfs2.
> 
> Signed-off-by: Jeff Layton <jlayton@redhat.com>
> ---

Applied, thank you.

Ryusuke Konishi

>  fs/nilfs2/super.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
> index 4fc018dfcfae..3ce20cd44a20 100644
> --- a/fs/nilfs2/super.c
> +++ b/fs/nilfs2/super.c
> @@ -160,7 +160,6 @@ struct inode *nilfs_alloc_inode(struct super_block *sb)
>  	ii->i_bh = NULL;
>  	ii->i_state = 0;
>  	ii->i_cno = 0;
> -	ii->vfs_inode.i_version = 1;
>  	nilfs_mapping_init(&ii->i_btnode_cache, &ii->vfs_inode);
>  	return &ii->vfs_inode;
>  }
> -- 
> 2.13.6
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-31  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-30 15:17 [PATCH] nilfs2: remove inode->i_version initialization Jeff Layton
2017-10-31  4:22 ` Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).