projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9dae2f
)
bcachefs: remove now spurious i_state initialization
author
Mateusz Guzik
<mjguzik@gmail.com>
Tue, 11 Jun 2024 12:06:26 +0000
(14:06 +0200)
committer
Christian Brauner
<brauner@kernel.org>
Thu, 13 Jun 2024 11:40:45 +0000
(13:40 +0200)
inode_init_always started setting the field to 0.
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link:
https://lore.kernel.org/r/20240611120626.513952-5-mjguzik@gmail.com
Acked-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/bcachefs/fs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index 96040a95cf4667069ad8dac4cc02a56f45382dc8..8122214e00a3888457499d6bc4340aec4662575d 100644
(file)
--- 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);