[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240611120626.513952-5-mjguzik@gmail.com>
Date: Tue, 11 Jun 2024 14:06:26 +0200
From: Mateusz Guzik <mjguzik@...il.com>
To: brauner@...nel.org
Cc: viro@...iv.linux.org.uk,
jack@...e.cz,
linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
linux-bcachefs@...r.kernel.org,
kent.overstreet@...ux.dev,
linux-xfs@...r.kernel.org,
david@...morbit.com,
Mateusz Guzik <mjguzik@...il.com>
Subject: [PATCH v2 4/4] bcachefs: remove now spurious i_state initialization
inode_init_always started setting the field to 0.
Signed-off-by: Mateusz Guzik <mjguzik@...il.com>
---
fs/bcachefs/fs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c
index 514bf83ebe29..f9044da417ac 100644
--- a/fs/bcachefs/fs.c
+++ b/fs/bcachefs/fs.c
@@ -230,7 +230,6 @@ static struct bch_inode_info *__bch2_new_inode(struct bch_fs *c)
two_state_lock_init(&inode->ei_pagecache_lock);
INIT_LIST_HEAD(&inode->ei_vfs_inode_list);
mutex_init(&inode->ei_quota_lock);
- inode->v.i_state = 0;
if (unlikely(inode_init_always(c->vfs_sb, &inode->v))) {
kmem_cache_free(bch2_inode_cache, inode);
--
2.43.0
Powered by blists - more mailing lists