diff options
author | Mateusz Guzik <[email protected]> | 2024-06-11 14:06:26 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-06-13 13:40:45 +0200 |
commit | 267574dee6ae0da68f5b454a30ff276d45976cf8 (patch) | |
tree | b85dfa8bc12ea78263f1d6e7073ef0eabc726243 | |
parent | e9dae2fb991b3211108187f90551d62968ef06a1 (diff) |
bcachefs: remove now spurious i_state initialization
inode_init_always started setting the field to 0.
Signed-off-by: Mateusz Guzik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Kent Overstreet <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
-rw-r--r-- | fs/bcachefs/fs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index 96040a95cf46..8122214e00a3 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -228,7 +228,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); |